diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-03-22 16:35:37 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-03-22 16:35:37 (GMT) |
commit | df5126df56cff1aae3a2a9bf61352efff40c915c (patch) | |
tree | 40f5f25c3eb1acfc387750caebc940a52d009686 /Python/dynload_aix.c | |
parent | 24fcd23eae7cb5b2261e5c8f5f197f6f5fe11d6a (diff) | |
download | cpython-df5126df56cff1aae3a2a9bf61352efff40c915c.zip cpython-df5126df56cff1aae3a2a9bf61352efff40c915c.tar.gz cpython-df5126df56cff1aae3a2a9bf61352efff40c915c.tar.bz2 |
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).
Diffstat (limited to 'Python/dynload_aix.c')
-rw-r--r-- | Python/dynload_aix.c | 6 |
1 files 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 <ctype.h> /* for isdigit() */ #include <errno.h> /* for global errno */ #include <string.h> /* for strerror() */ #include <stdlib.h> /* for malloc(), free() */ #include <sys/ldr.h> -#include "Python.h" -#include "importdl.h" - #ifdef AIX_GENUINE_CPLUSPLUS #include "/usr/lpp/xlC/include/load.h" |