diff --git a/configure.ac b/configure.ac index 217d8a55..c79efdf7 100644 --- a/configure.ac +++ b/configure.ac @@ -113,8 +113,9 @@ AC_DEFINE_UNQUOTED([AWESOME_LUA_LIB_PATH], "${awesomelibdir}", [awesome lib path AC_PATH_XTRA PKG_CHECK_MODULES([pangocairo], [pangocairo],, [AC_MSG_ERROR([awesome requires pangocairo.])]) -PKG_CHECK_MODULES([Lua], [lua5.1],, - [AC_MSG_ERROR([awesome requires Lua >= 5.1.])]) +PKG_CHECK_MODULES([Lua], [lua >= 5.1],, + [PKG_CHECK_MODULES([Lua], [lua5.1],, + [AC_MSG_ERROR([awesome requires Lua >= 5.1.])])]) PKG_CHECK_MODULES([glib], [glib-2.0],, [AC_MSG_ERROR([awesome requires glib-2.0.])]) PKG_CHECK_MODULES([dbus], [dbus-1],, diff --git a/lua.h b/lua.h index fb4f2c06..48f4156b 100644 --- a/lua.h +++ b/lua.h @@ -22,8 +22,8 @@ #ifndef AWESOME_LUA_H #define AWESOME_LUA_H -#include -#include +#include +#include #include "common/util.h"