summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2007-04-01 11:39:48 +0000
committerpixel <pixel>2007-04-01 11:39:48 +0000
commit360bcb4db6def2e2d3d70d4ac64d0927506cffd0 (patch)
tree4a330bdb662d373b90e49242fb42b4b58a1df5eb
parentdcb4548df2ea63e0736255c1b4e840678c2dddac (diff)
Adding windows include to have the timeval struct definition.
-rw-r--r--include/Task.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Task.h b/include/Task.h
index 8831830..e18c8ed 100644
--- a/include/Task.h
+++ b/include/Task.h
@@ -4,6 +4,8 @@
#ifndef _WIN32
#include <unistd.h>
#include <sys/time.h>
+#else
+#include <winsock.h>
#endif
#include <vector>
#include <Exceptions.h>