From 63c5658a2b3b22a654bf90ef2a3290b3f8192b7a Mon Sep 17 00:00:00 2001 From: Sergey Lyubka Date: Sat, 7 Dec 2013 17:45:59 +0000 Subject: [PATCH] Fixed lua compilation under linux --- build/lua_5.2.1.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/lua_5.2.1.h b/build/lua_5.2.1.h index 2849a678..c51afd71 100644 --- a/build/lua_5.2.1.h +++ b/build/lua_5.2.1.h @@ -8,10 +8,11 @@ #ifndef lconfig_h #define lconfig_h +#define _XOPEN_SOURCE 600 // Makes it compile under linux + #include #include - /* ** ================================================================== ** Search for "@@" to find all configurable definitions.