summaryrefslogtreecommitdiff
path: root/lib/elf_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/elf_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/elf_py.c')
-rw-r--r--lib/elf_py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elf_py.c b/lib/elf_py.c
index 5289faece4..75d2d6007f 100644
--- a/lib/elf_py.c
+++ b/lib/elf_py.c
@@ -50,10 +50,10 @@
#define PY_SSIZE_T_CLEAN
-#include <Python.h>
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+#include <Python.h>
#include "structmember.h"
#include <string.h>
#include <stdlib.h>