summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-07-28 19:41:39 +0000
committerNick Mathewson <nickm@torproject.org>2009-07-28 19:41:39 +0000
commit5b5b880be7452eaf42d401f3ad54474ae60a9dbf (patch)
treeefbb466328dea7f1b838c72e450954558a5ed1d5 /sample
parent12199fa7a51ee93479fa0db30c2f7b9c8159bb94 (diff)
downloadlibevent-5b5b880be7452eaf42d401f3ad54474ae60a9dbf.tar.gz
Various MSVC cleanups from Brodie Thiesfield.
svn:r1385
Diffstat (limited to 'sample')
-rw-r--r--sample/event-test.c1
-rw-r--r--sample/signal-test.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sample/event-test.c b/sample/event-test.c
index 848cbc87..3a06d3bf 100644
--- a/sample/event-test.c
+++ b/sample/event-test.c
@@ -14,6 +14,7 @@
#include <unistd.h>
#include <sys/time.h>
#else
+#include <winsock2.h>
#include <windows.h>
#endif
#include <fcntl.h>
diff --git a/sample/signal-test.c b/sample/signal-test.c
index 165883fb..4a3a738e 100644
--- a/sample/signal-test.c
+++ b/sample/signal-test.c
@@ -16,6 +16,7 @@
#include <unistd.h>
#include <sys/time.h>
#else
+#include <winsock2.h>
#include <windows.h>
#endif
#include <signal.h>