summaryrefslogtreecommitdiff
path: root/bgpd/bgp_script.h
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_script.h')
-rw-r--r--bgpd/bgp_script.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/bgpd/bgp_script.h b/bgpd/bgp_script.h
index 15ed3345c4..6682c2eebd 100644
--- a/bgpd/bgp_script.h
+++ b/bgpd/bgp_script.h
@@ -17,10 +17,18 @@
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
* MA 02110-1301 USA
*/
+#ifndef __BGP_SCRIPT__
+#define __BGP_SCRIPT__
#include <zebra.h>
+#ifdef HAVE_SCRIPTING
+
/*
* Initialize scripting stuff.
*/
void bgp_script_init(void);
+
+#endif /* HAVE_SCRIPTING */
+
+#endif /* __BGP_SCRIPT__ */