Include 'sys/time.h' for 'struct timeval' on OS/2
authorKO Myung-Hun <komh78@gmail.com>
Fri, 27 Jan 2012 16:13:38 +0000 (01:13 +0900)
committerRémi Denis-Courmont <remi@remlab.net>
Fri, 27 Jan 2012 21:36:28 +0000 (23:36 +0200)
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
compat/poll.c

index 0a27b71..ef00fa5 100644 (file)
@@ -34,6 +34,7 @@
 # define FD_SETSIZE 0
 # include <winsock2.h>
 #else
+# include <sys/time.h>
 # include <sys/select.h>
 #endif