summaryrefslogtreecommitdiff
path: root/lib/socket-util.h
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2011-09-22 21:24:10 +0900
committerBen Pfaff <blp@nicira.com>2011-09-22 09:02:54 -0700
commit8e47be7756c593bfd13dcd513df1cf7a90378eeb (patch)
tree20fe1eb2ea4e913ad81f88e6463b8e0c3b92c9c5 /lib/socket-util.h
parent0428ae5f7b6b3a83d501e8b8491923650b79f854 (diff)
downloadopenvswitch-8e47be7756c593bfd13dcd513df1cf7a90378eeb.tar.gz
Include <sys/socket.h> in socket-util.h
This appears to be necessary to get a definition of socket_t when compiling using the Android NDK r6b (Android API level 13).
Diffstat (limited to 'lib/socket-util.h')
-rw-r--r--lib/socket-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/socket-util.h b/lib/socket-util.h
index 0376006f3..c00ade25a 100644
--- a/lib/socket-util.h
+++ b/lib/socket-util.h
@@ -18,6 +18,7 @@
#define SOCKET_UTIL_H 1
#include <sys/types.h>
+#include <sys/socket.h>
#include <netinet/in.h>
#include <stdbool.h>
#include "openvswitch/types.h"