git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e47be7
)
Include <sys/time.h> in socket-util.h
author
Simon Horman
<horms@verge.net.au>
Thu, 22 Sep 2011 12:24:11 +0000
(21:24 +0900)
committer
Ben Pfaff
<blp@nicira.com>
Thu, 22 Sep 2011 16:02:57 +0000
(09:02 -0700)
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).
lib/socket-util.h
patch
|
blob
|
history
diff --git
a/lib/socket-util.h
b/lib/socket-util.h
index
c00ade2
..
1059139
100644
(file)
--- 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"