Browse Source

added have_types_h

Dave Schuyler 21 years ago
parent
commit
5f59746382
1 changed files with 8 additions and 4 deletions
  1. 8 4
      dtool/src/dtoolbase/dtoolbase.h

+ 8 - 4
dtool/src/dtoolbase/dtoolbase.h

@@ -92,6 +92,14 @@
 #define _LARGEFILE_SOURCE 1
 #endif
 
+#ifdef HAVE_TYPES_H
+#include <types.h>
+#endif
+
+#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
 #ifdef HAVE_MALLOC_H
 #include <malloc.h>
 #endif
@@ -120,10 +128,6 @@
 #include <minmax.h>
 #endif
 
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
 #ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
 #endif