slightly less obscene #ifdef'ing for solaris, define __EXTENSIONS__ to get at prusage_t struct
#define _INCLUDE_HPUX_SOURCE
#endif
+#ifdef solaris2_TARGET_OS
+#define __EXTENSIONS__
+#endif
+
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
from getrusage() for Solaris -- SOF
*/
#if solaris2_TARGET_OS
-#undef __STRICT_ANSI__ /* oh, dear */
#include <sys/fcntl.h>
#include <sys/signal.h>
#include <sys/procfs.h>