From: Simon Horman <horms@verge.net.au> Date: Thu, 22 Sep 2011 12:24:10 +0000 (+0900) Subject: Include <sys/socket.h> in socket-util.h X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e47be7756c593bfd13dcd513df1cf7a90378eeb;p=openvswitch 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). --- diff --git a/lib/socket-util.h b/lib/socket-util.h index 0376006f..c00ade25 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"