sdm> timemodule.c doesn't compile on AIX with -Dunix, but posixmodule
sdm> ( and maybe runpython and/or some other modules ) needs unix
sdm> defined.
You're right about AIX needing the -Dunix.
AIX 3.2 with gcc 2.4.5 doesn't seem to #include time.h in sys/time.h
so I added an #ifdef to do this. Getting _BSD_INCLUDES defined in
sys/time.h might be a prettier solution, but AIX header files make me
nauseous.
I've also included the compile line for timemodule.c.
gcc -Dunix -DOLDTZ -g -I/usr/X11R5/include -c -DSYSV -DBSD_TIME timemodule.c
*** timemodule.c.original Fri Jul 9 06:51:31 1993
--- timemodule.c Tue Nov 9 06:34:00 1993
***************
*** 67,72 ****
--- 67,75 ----
#ifdef unix
#include <sys/types.h>
#include <sys/time.h> /* Implies <time.h> everywhere, as far as I know */
+ #ifdef _AIX
+ #include <time.h> /* instead of defining _BSD_INCLUDES */
+ #endif /* _AIX */
#else /* !unix */
#include <time.h>
#endif /* !unix */
michael