Sort all includes in src/gromacs
[alexxy/gromacs.git] / src / gromacs / imd / imdsocket.h
index 5903db3cacecf627f22335f66029412f0b2a821e..4effb0c76a91c7a38cfd592ce0669aa69d3b3635 100644 (file)
@@ -51,6 +51,8 @@
 #ifndef GMX_IMD_IMDSOCKET_H
 #define GMX_IMD_IMDSOCKET_H
 
+#include "config.h"
+
 /* Check if we can/should use winsock or standard UNIX sockets. */
 #ifdef GMX_NATIVE_WINDOWS
   #ifdef GMX_HAVE_WINSOCK
@@ -58,8 +60,8 @@
   #define GMX_IMD
   #endif
 #else
-#include <sys/socket.h>
 #include <netinet/in.h>
+#include <sys/socket.h>
 #define GMX_IMD
 #endif