summaryrefslogtreecommitdiff
path: root/src/common/fakepoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/fakepoll.c')
-rw-r--r--src/common/fakepoll.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c
index 2f91c1b45f..b60514a254 100644
--- a/src/common/fakepoll.c
+++ b/src/common/fakepoll.c
@@ -15,6 +15,9 @@
#ifdef HAVE_STRING_H
#include <string.h>
#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
#if _MSC_VER > 1300
#include <winsock2.h>
#include <ws2tcpip.h>