lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> This bug[1] also breaks software using liblua on OSX10.4 (compiler is
> apple-gcc42 5666.3_14) - please can you fix it?
> 
> [1]http://lua-users.org/lists/lua-l/2011-12/msg00707.html

In liolib.c, add this

#if defined(LUA_USE_POSIX)
#include <sys/types.h>
#endif

just after

#include "lualib.h"