From 4d8564e803e86c9fd5bbd813862f27d3819caf35 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 8 Oct 2006 21:04:22 +0000 Subject: [PATCH] LUA_USE_LINUX --- stepmania/configure.ac | 1 + stepmania/src/lua-5.1/src/luaconf.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/stepmania/configure.ac b/stepmania/configure.ac index 9ef0240dc7..a6c208511e 100644 --- a/stepmania/configure.ac +++ b/stepmania/configure.ac @@ -68,6 +68,7 @@ case $host_os in unix=yes ;; esac +AC_DEFINE(LUA_USE_LINUX, 1, [Linux for Lua]) AM_CONDITIONAL(UNIX, test "$unix" = "yes" ) AM_CONDITIONAL(LINUX, test "$linux" = "yes" ) AM_CONDITIONAL(BSD, test "$bsd" = "yes" ) diff --git a/stepmania/src/lua-5.1/src/luaconf.h b/stepmania/src/lua-5.1/src/luaconf.h index b8da2c3b3f..fe397691ec 100644 --- a/stepmania/src/lua-5.1/src/luaconf.h +++ b/stepmania/src/lua-5.1/src/luaconf.h @@ -11,6 +11,9 @@ #include #include +#if defined(HAVE_CONFIG_H) +#include +#endif /* ** ==================================================================