summaryrefslogtreecommitdiff
path: root/Build/source
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-03 22:57:34 +0000
committerKarl Berry <karl@freefriends.org>2013-04-03 22:57:34 +0000
commit3d5bab3631343b46c7a6cf9d67fe54cca90b28f6 (patch)
treeb7e65cfc830016aa0b0f157a6086529b277315fd /Build/source
parent8e0e2d299fdfc0af8a7a23ba86bbbdab11dd53af (diff)
<unistd.h> for freebsd, hopefully harmless elsewhere
git-svn-id: svn://tug.org/texlive/trunk@29635 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r--Build/source/texk/web2c/luatexdir/ChangeLog5
-rw-r--r--Build/source/texk/web2c/luatexdir/lua52/liolib.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog
index 796e2a9910e..d54208a443e 100644
--- a/Build/source/texk/web2c/luatexdir/ChangeLog
+++ b/Build/source/texk/web2c/luatexdir/ChangeLog
@@ -1,3 +1,8 @@
+2013-04-04 Karl Berry <karl@tug.org>
+
+ * lua52/liolib.c: #include <unistd.h>. Needed on FreeBSD
+ per Nikola Lecic, tlbuild 1 Apr 2013 02:10:08.
+
2013-03-21 Peter Breitenlohner <peb@mppmu.mpg.de>
Import LuaTeX beta-0.75.0 from LuaTeX repository (r4604).
diff --git a/Build/source/texk/web2c/luatexdir/lua52/liolib.c b/Build/source/texk/web2c/luatexdir/lua52/liolib.c
index adcf99cb13c..ffbd67d4ad4 100644
--- a/Build/source/texk/web2c/luatexdir/lua52/liolib.c
+++ b/Build/source/texk/web2c/luatexdir/lua52/liolib.c
@@ -15,6 +15,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#define liolib_c
#define LUA_LIB