lib/rsp_tlscommon.c: Include sys/types.h before netinet/in.h.
authorLinus Nordberg <linus@nordu.net>
Mon, 23 May 2011 08:07:32 +0000 (10:07 +0200)
committerLinus Nordberg <linus@nordu.net>
Mon, 23 May 2011 08:07:32 +0000 (10:07 +0200)
lib/rsp_tlscommon.c

index 7f728fe..a34fe33 100644 (file)
@@ -10,6 +10,7 @@
 #include <config.h>
 #endif
 
+#include <sys/types.h>
 #if defined(RADPROT_TLS) || defined(RADPROT_DTLS)
 #include <signal.h>
 #include <sys/socket.h>
@@ -22,7 +23,6 @@
 #include <fcntl.h>
 #endif
 #include <sys/time.h>
-#include <sys/types.h>
 #include <sys/select.h>
 #include <ctype.h>
 #include <sys/wait.h>