From df5126df56cff1aae3a2a9bf61352efff40c915c Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sat, 22 Mar 2003 16:35:37 +0000 Subject: Include Python.h first which defines _XOPEN_SOURCE which allows the file to compile and removes a warning about _XOPEN_SOURCE being redefined (works on AIX 4.3 and 5.1 at least). --- Python/dynload_aix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Python/dynload_aix.c b/Python/dynload_aix.c index fd380ae..03ecc07 100644 --- a/Python/dynload_aix.c +++ b/Python/dynload_aix.c @@ -1,15 +1,15 @@ /* Support for dynamic loading of extension modules */ +#include "Python.h" +#include "importdl.h" + #include /* for isdigit() */ #include /* for global errno */ #include /* for strerror() */ #include /* for malloc(), free() */ #include -#include "Python.h" -#include "importdl.h" - #ifdef AIX_GENUINE_CPLUSPLUS #include "/usr/lpp/xlC/include/load.h" -- cgit v0.12