summaryrefslogtreecommitdiff
path: root/Build/source/libs/lua52/lua52-PATCHES/patch-02-FreeBSD
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-02-18 14:52:05 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2016-02-18 14:52:05 +0000
commit6c4ba6b7612a1bfdf20246a22c71e0640471807b (patch)
tree1e8ed052b667de0f0eb44c9d4011e10ca4782708 /Build/source/libs/lua52/lua52-PATCHES/patch-02-FreeBSD
parenta81aaef05fcb0bcfc5f94dcdfbebf7543df1cfcb (diff)
libs/lua52: New convention
git-svn-id: svn://tug.org/texlive/trunk@39764 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/lua52/lua52-PATCHES/patch-02-FreeBSD')
-rw-r--r--Build/source/libs/lua52/lua52-PATCHES/patch-02-FreeBSD13
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