diff options
Diffstat (limited to 'lib/frrlua.h')
| -rw-r--r-- | lib/frrlua.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/frrlua.h b/lib/frrlua.h index a105bd069d..8e52931e50 100644 --- a/lib/frrlua.h +++ b/lib/frrlua.h @@ -19,7 +19,9 @@ #ifndef __FRRLUA_H__ #define __FRRLUA_H__ -#if defined(HAVE_LUA) +#include <zebra.h> + +#ifdef HAVE_SCRIPTING #include <lua.h> #include <lualib.h> @@ -166,5 +168,6 @@ char *frrlua_stackdump(lua_State *L); } #endif -#endif /* HAVE_LUA */ +#endif /* HAVE_SCRIPTING */ + #endif /* __FRRLUA_H__ */ |
