summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2011-09-22 21:24:11 +0900
committerBen Pfaff <blp@nicira.com>2011-09-22 09:02:57 -0700
commit72af4a857c677902cdb5007ea4eb63c608215913 (patch)
tree128a0bc44d48571a7807ac7f1aa841917076c32a
parent8e47be7756c593bfd13dcd513df1cf7a90378eeb (diff)
downloadopenvswitch-72af4a857c677902cdb5007ea4eb63c608215913.tar.gz
Include <sys/time.h> in socket-util.h
sys/time.h appears to be required for a definition of timespec on Android. Observed when compiling using the Android NDK r6b (Android API level 13).
-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 c00ade25a..10591392a 100644
--- a/lib/socket-util.h
+++ b/lib/socket-util.h
@@ -19,6 +19,7 @@
#include <sys/types.h>
#include <sys/socket.h>
+#include <sys/time.h>
#include <netinet/in.h>
#include <stdbool.h>
#include "openvswitch/types.h"