@@ -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>
#ifdef HAVE_MALLOC_H
#include <malloc.h>
@@ -120,10 +128,6 @@
#include <minmax.h>
-#ifdef HAVE_SYS_TYPES_H
-#include <sys/types.h>
-#endif
-
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>