Move definition X/Open compatibility stuff inside the main #ifdef.
authordrepper <drepper>
Thu, 24 Feb 2000 16:41:13 +0000 (16:41 +0000)
committerdrepper <drepper>
Thu, 24 Feb 2000 16:41:13 +0000 (16:41 +0000)
stdlib/stdlib.h

index db624de..8829106 100644 (file)
 #endif
 #include <stddef.h>
 
+__BEGIN_DECLS
+
+#ifndef __need_malloc_and_calloc
+#define        _STDLIB_H       1
+
 #ifdef __USE_XOPEN
 /* XPG requires a few symbols from <sys/wait.h> being defined.  */
 # include <bits/waitflags.h>
@@ -87,11 +92,6 @@ typedef union
 # endif
 #endif
 
-__BEGIN_DECLS
-
-#ifndef __need_malloc_and_calloc
-#define        _STDLIB_H       1
-
 /* Returned by `div'.  */
 typedef struct
   {