summaryrefslogtreecommitdiff
path: root/Build/source/libs/lua53/TLpatches/patch-02-FreeBSD
blob: ad85a5988d8d41b33b5dc81e50a34ea654f7c945 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -u liolib.c.orig liolib.c 
--- liolib.c.orig	2017-04-19 19:29:57.000000000 +0200
+++ liolib.c	2018-07-21 10:04:50.965674394 +0200
@@ -16,6 +16,9 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#if defined(HAVE_UNISTD_H)
+#include <unistd.h>
+#endif
 
 #include "lua.h"