summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-01-19 17:29:11 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-01-19 17:29:11 +0100
commit308fd8dd1d373ab22c19697f16ca2f3cbf0307ad (patch)
tree5d60d8680557fc72ec09c2b3d417454592c8ea01
parent535fc124686c212be2ce6f1a646505a58879b190 (diff)
timer: include winsock2.h to avoid warning
-rw-r--r--src/timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timer.c b/src/timer.c
index 472787e..d12f650 100644
--- a/src/timer.c
+++ b/src/timer.c
@@ -11,6 +11,7 @@
#include <sys/time.h>
#endif
#ifdef WIN32
+#include <winsock2.h>
#include <windows.h>
#else
#include <time.h>