curl tool: header inclusion adjustment
authorYang Tse <yangsita@gmail.com>
Wed, 5 Oct 2011 10:40:30 +0000 (12:40 +0200)
committerYang Tse <yangsita@gmail.com>
Wed, 5 Oct 2011 10:40:30 +0000 (12:40 +0200)
src/tool_sleep.c

index 1548d58..08db886 100644 (file)
 #  include <sys/select.h>
 #endif
 
+#ifdef HAVE_SYS_SOCKET_H
+#  include <sys/socket.h>
+#endif
+
 #ifdef HAVE_SYS_POLL_H
 #  include <sys/poll.h>
 #elif defined(HAVE_POLL_H)