diff options
Diffstat (limited to 'Build/source/libs/lua52/lua52-PATCHES/patch-02-FreeBSD')
-rw-r--r-- | Build/source/libs/lua52/lua52-PATCHES/patch-02-FreeBSD | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Build/source/libs/lua52/lua52-PATCHES/patch-02-FreeBSD b/Build/source/libs/lua52/lua52-PATCHES/patch-02-FreeBSD new file mode 100644 index 00000000000..c9465de9446 --- /dev/null +++ b/Build/source/libs/lua52/lua52-PATCHES/patch-02-FreeBSD @@ -0,0 +1,13 @@ +diff -ur lua-5.2.4.orig/src/liolib.c lua-5.2.4/src/liolib.c +--- lua-5.2.4.orig/src/liolib.c 2013-04-12 20:48:47.000000000 +0200 ++++ lua-5.2.4/src/liolib.c 2014-03-19 15:03:49.727286832 +0100 +@@ -19,6 +19,9 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#if defined(HAVE_UNISTD_H) ++#include <unistd.h> ++#endif + + #define liolib_c + #define LUA_LIB |