Ecore_Con: should fix compilation on Mac OS X
authorVincent Torri <vincent.torri@gmail.com>
Wed, 7 Mar 2012 23:34:38 +0000 (23:34 +0000)
committerVincent Torri <vincent.torri@gmail.com>
Wed, 7 Mar 2012 23:34:38 +0000 (23:34 +0000)
SVN revision: 69036

legacy/ecore/src/lib/ecore_con/ecore_con_socks.c

index 82319f6..686f73b 100644 (file)
 #include <unistd.h>
 #include <fcntl.h>
 
+#ifdef HAVE_SYS_SOCKET_H
+# include <sys/socket.h>
+#endif
+
 #ifdef HAVE_NETINET_TCP_H
 # include <netinet/tcp.h>
 #endif
 # include <arpa/inet.h>
 #endif
 
-#ifdef HAVE_SYS_SOCKET_H
-# include <sys/socket.h>
-#endif
-
 #ifdef HAVE_SYS_UN_H
 # include <sys/un.h>
 #endif