--- configure.orig	2006-03-24 00:05:11 UTC
+++ configure
@@ -14021,9 +14021,9 @@ cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
 #ifdef HAVE_SYS_SOCKET_H
+	#include <sys/types.h>
 	#include <sys/socket.h>
 	#endif
-	#include <sys/types.h>
 	socklen_t x;
 int
 main ()
