diff Python/dynload_aix.c @ 28383:f99cf9bfbbaf legacy-trunk

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).
author Neal Norwitz <nnorwitz@gmail.com>
date Sat, 22 Mar 2003 16:35:37 +0000
parents 8999d72c2e6c
children 8cb686dd6e64
line wrap: on
line diff
--- a/Python/dynload_aix.c	Sat Mar 22 16:19:52 2003 +0000
+++ b/Python/dynload_aix.c	Sat Mar 22 16:35:37 2003 +0000
@@ -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"