Index: src/luaconf.h --- src/luaconf.h.orig +++ src/luaconf.h @@ -58,7 +58,7 @@ #endif -#if defined(LUA_USE_LINUX) +#if defined(LUA_USE_BSD) || defined(LUA_USE_LINUX) #define LUA_USE_POSIX #define LUA_USE_DLOPEN /* needs an extra library: -ldl */ #endif