diff --git a/SystemInformation.cxx b/SystemInformation.cxx
index 06fa4da247ac8a4a2d2e72a101a7c4da8308a20f..48ef68fb5f96ca6fb5ac3d787c819c5dfd22cdfc 100644
--- a/SystemInformation.cxx
+++ b/SystemInformation.cxx
@@ -14,26 +14,6 @@
      PURPOSE.  See the above copyright notices for more information.
 =========================================================================*/
 #include "kwsysPrivate.h"
-#ifndef WIN32
-  #include <sys/utsname.h> // int uname(struct utsname *buf);
-#endif
-
-#ifdef _WIN32
-  #include <windows.h>
-#endif
-
-#ifdef __linux
-#include <sys/procfs.h>
-#include <sys/types.h>
-#include <unistd.h>
-#include <fcntl.h>
-#include <ctype.h> // int isdigit(int c);
-#include <errno.h> // extern int errno;
-#include <sys/time.h>
-#elif __hpux
-#include <sys/param.h>
-#include <sys/pstat.h>
-#endif
 #include KWSYS_HEADER(FundamentalType.h)
 #include KWSYS_HEADER(stl/string)
 #include KWSYS_HEADER(stl/vector)
@@ -56,6 +36,28 @@
 # include "kwsys_ios_iostream.h.in"
 #endif
 
+
+#ifndef WIN32
+# include <sys/utsname.h> // int uname(struct utsname *buf);
+#endif
+
+#ifdef _WIN32
+# include <windows.h>
+#endif
+
+#ifdef __linux
+# include <sys/procfs.h>
+# include <sys/types.h>
+# include <unistd.h>
+# include <fcntl.h>
+# include <ctype.h> // int isdigit(int c);
+# include <errno.h> // extern int errno;
+# include <sys/time.h>
+#elif __hpux
+# include <sys/param.h>
+# include <sys/pstat.h>
+#endif
+
 #include <memory.h>
 #include <stdlib.h>
 #include <stdio.h>