From: Ben Pfaff <blp@nicira.com>
Date: Thu, 4 Sep 2008 18:12:01 +0000 (-0700)
Subject: Fix included headers.
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4782d87313efec9f9ad5c329221cc9d11101cbd4;p=sliver-openvswitch.git

Fix included headers.

Enables partner builds.
---

diff --git a/include/socket-util.h b/include/socket-util.h
index 3f6289aa0..fec4565cf 100644
--- a/include/socket-util.h
+++ b/include/socket-util.h
@@ -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);