summaryrefslogtreecommitdiff
path: root/lib/frrscript.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/frrscript.h')
-rw-r--r--lib/frrscript.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/frrscript.h b/lib/frrscript.h
index 39eebe6e46..21cd352881 100644
--- a/lib/frrscript.h
+++ b/lib/frrscript.h
@@ -19,6 +19,7 @@
#ifndef __FRRSCRIPT_H__
#define __FRRSCRIPT_H__
+#include <lua.h>
#include "frrlua.h"
#ifdef __cplusplus
@@ -27,7 +28,7 @@ extern "C" {
#define FRRSCRIPT_PATH "/etc/frr/scripts"
-typedef int (*encoder_func)(struct lua_State *, const void *);
+typedef int (*encoder_func)(lua_State *, const void *);
struct frrscript {
/* Script name */