summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2007-03-25 23:07:33 +0000
committerKen Raeburn <raeburn@mit.edu>2007-03-25 23:07:33 +0000
commit3a2812f7072052724377d30f0ff08bbd24ba28ce (patch)
tree3465f5316e29743c3df517afb9fb55ceaed3512c
parent9bda2b0f51ffc82011416d98da619b8e7e315736 (diff)
downloadkrb5-3a2812f7072052724377d30f0ff08bbd24ba28ce.tar.gz
krb5-3a2812f7072052724377d30f0ff08bbd24ba28ce.tar.xz
krb5-3a2812f7072052724377d30f0ff08bbd24ba28ce.zip
Include autoconf.h before testing macros for Python header location
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19267 dc483132-0cff-0310-8789-dd5450dbe970
-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 37342ac7ae..4f840fcc54 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"