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"