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 | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/socket-util.h b/lib/socket-util.h index c00ade2..1059139 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" -- 1.7.5.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev