summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2022-04-04 18:02:14 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2022-04-04 18:33:10 +0200
commit5b4f4e626f696f4ab8717beff56f36365d87d7b4 (patch)
tree5645324558a5e8b638f09b84f436843fcceefdab /lib/command_py.c
parent92d930ede593dba53d1cb66c6346c45e6d1ba051 (diff)
build: first header *must* be zebra.h or config.h
This has already been a requirement for Solaris, it is still a requirement for some of the autoconf feature checks to work correctly, and it will be a requirement for `-fms-extensions`. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command_py.c')
-rw-r--r--lib/command_py.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/command_py.c b/lib/command_py.c
index 90344ae1e5..6301eec5e8 100644
--- a/lib/command_py.c
+++ b/lib/command_py.c
@@ -28,6 +28,9 @@
* setup & these trample over each other.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <Python.h>
#include "structmember.h"
#include <string.h>