summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/includes.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index a2419bc42c..5d050bf627 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -49,6 +49,17 @@
#include <sys/types.h>
+#ifdef TIME_WITH_SYS_TIME
+#include <sys/time.h>
+#include <time.h>
+#else
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#else
+#include <time.h>
+#endif
+#endif
+
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif
@@ -88,17 +99,6 @@
#include <malloc.h>
#endif
-#ifdef TIME_WITH_SYS_TIME
-#include <sys/time.h>
-#include <time.h>
-#else
-#ifdef HAVE_SYS_TIME_H
-#include <sys/time.h>
-#else
-#include <time.h>
-#endif
-#endif
-
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#else