aports/main/lsyncd/lua5.4.patch
2021-01-22 13:29:42 +00:00

21 lines
417 B
Diff

Taken from AUR
diff --git a/lsyncd.h b/lsyncd.h
index 9300a09..efda2fd 100644
--- a/lsyncd.h
+++ b/lsyncd.h
@@ -13,11 +13,13 @@
// some older machines need this to see pselect
#define _DEFAULT_SOURCE 1
+#define _BSD_SOURCE 1
#define _XOPEN_SOURCE 700
#define _DARWIN_C_SOURCE 1
#define LUA_COMPAT_ALL
#define LUA_COMPAT_5_1
+#define LUA_COMPAT_5_3
// includes needed for headerfile
#include "config.h"