Fix included headers.
[openvswitch] / include / socket-util.h
index 3f6289aa0fe0e624b7dc42ee3f1e39d2942111b8..fec4565cfb6e7d8bf68493c57cc40039156ec9b7 100644 (file)
@@ -34,9 +34,9 @@
 #ifndef SOCKET_UTIL_H
 #define SOCKET_UTIL_H 1
 
+#include <sys/types.h>
 #include <netinet/in.h>
 #include <stdbool.h>
-#include <sys/socket.h>
 
 int set_nonblocking(int fd);
 int lookup_ip(const char *host_name, struct in_addr *address);