blob: c9465de94460da7bf543f8120e919fce2c27b9c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
|