projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bda2b0
)
Include autoconf.h before testing macros for Python header location
author
Ken Raeburn
<raeburn@mit.edu>
Sun, 25 Mar 2007 23:07:33 +0000
(23:07 +0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Sun, 25 Mar 2007 23:07:33 +0000
(23:07 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19267
dc483132
-0cff-0310-8789-
dd5450dbe970
src/plugins/locate/python/py-locate.c
patch
|
blob
|
history
diff --git
a/src/plugins/locate/python/py-locate.c
b/src/plugins/locate/python/py-locate.c
index 37342ac7ae0ed8f02cbd26585c69aae4edfd4c27..4f840fcc54cc45bb5b9d1b360727e7bb2555a421 100644
(file)
--- 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"