diff options
Diffstat (limited to 'lib/frrscript.c')
-rw-r--r-- | lib/frrscript.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/frrscript.c b/lib/frrscript.c index 60d3c2fc6..6d03ca119 100644 --- a/lib/frrscript.c +++ b/lib/frrscript.c @@ -16,8 +16,10 @@ * with this program; see the file COPYING; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ - #include <zebra.h> + +#ifdef HAVE_SCRIPTING + #include <stdarg.h> #include <lua.h> @@ -27,6 +29,7 @@ #include "hash.h" #include "log.h" + DEFINE_MTYPE_STATIC(LIB, SCRIPT, "Scripting"); /* Codecs */ @@ -267,3 +270,5 @@ void frrscript_init() /* Register core library types */ frrscript_register_type_codecs(frrscript_codecs_lib); } + +#endif /* HAVE_SCRIPTING */ |