diff options
Diffstat (limited to 'lib/frrscript.h')
| -rw-r--r-- | lib/frrscript.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/frrscript.h b/lib/frrscript.h index cbc0ca6c51..4206420f48 100644 --- a/lib/frrscript.h +++ b/lib/frrscript.h @@ -19,6 +19,10 @@ #ifndef __FRRSCRIPT_H__ #define __FRRSCRIPT_H__ +#include <zebra.h> + +#ifdef HAVE_SCRIPTING + #include <lua.h> #include "frrlua.h" @@ -128,4 +132,6 @@ void *frrscript_get_result(struct frrscript *fs, } #endif /* __cplusplus */ +#endif /* HAVE_SCRIPTING */ + #endif /* __FRRSCRIPT_H__ */ |
