libs/lua53/TLpatches/patch-02-FreeBSD
raw| 1 | diff -u liolib.c.orig liolib.c |
| 2 | --- liolib.c.orig 2020-10-04 12:06:03.579772529 +0200 |
| 3 | +++ liolib.c 2020-10-04 12:12:12.061843306 +0200 |
| 4 | @@ -16,6 +16,9 @@ |
| 5 | #include <stdio.h> |
| 6 | #include <stdlib.h> |
| 7 | #include <string.h> |
| 8 | +#if defined(HAVE_UNISTD_H) |
| 9 | +#include <unistd.h> |
| 10 | +#endif |
| 11 | |
| 12 | #include "lua.h" |
| 13 |