Include <sys/time.h> in socket-util.h
authorSimon Horman <horms@verge.net.au>
Thu, 22 Sep 2011 12:24:11 +0000 (21:24 +0900)
committerBen Pfaff <blp@nicira.com>
Thu, 22 Sep 2011 16:02:57 +0000 (09:02 -0700)
commit72af4a857c677902cdb5007ea4eb63c608215913
tree128a0bc44d48571a7807ac7f1aa841917076c32a
parent8e47be7756c593bfd13dcd513df1cf7a90378eeb
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).
lib/socket-util.h