aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 85f3b3163..80faf9a99 100644
--- a/src/main.c
+++ b/src/main.c
@@ -50,6 +50,10 @@
#include <winsock.h>
#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+
#include "version.h"
#ifdef HAVE_IO_H /* typical win32 habit */