summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/locate/python/py-locate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/locate/python/py-locate.c b/src/plugins/locate/python/py-locate.c
index 37342ac7a..4f840fcc5 100644
--- a/src/plugins/locate/python/py-locate.c
+++ b/src/plugins/locate/python/py-locate.c
@@ -61,6 +61,7 @@
/* Include Python.h before autoconf.h, because our autoconf.h seems
to confuse Python's headers. */
+#include <autoconf.h>
#if HAVE_PYTHON_H
#include <Python.h>
#elif HAVE_PYTHON2_3_PYTHON_H
@@ -68,7 +69,6 @@
#else
#error "Where's the Python header file?"
#endif
-#include <autoconf.h>
#include <errno.h>
#include "k5-platform.h" /* for init/fini macros */
#include "fake-addrinfo.h"