aboutsummaryrefslogtreecommitdiff
path: root/tests/httpserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/httpserver.c')
-rw-r--r--tests/httpserver.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/httpserver.c b/tests/httpserver.c
index 9898a0ff..9fefe1f7 100644
--- a/tests/httpserver.c
+++ b/tests/httpserver.c
@@ -11,7 +11,9 @@
#include "convey.h"
#include "trantest.h"
-#ifndef _WIN32
+#ifdef _WIN32
+#define strdup _strdup
+#else
#include <arpa/inet.h>
#endif