summaryrefslogtreecommitdiffstats
path: root/util/http.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--util/http.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/http.c b/util/http.c
index 1073e0433..4bac8d845 100644
--- a/util/http.c
+++ b/util/http.c
@@ -25,6 +25,9 @@
#include <string.h>
#include <ctype.h>
#include <errno.h>
+
+#ifndef HAVE_DOSISH_SYSTEM
+
#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
@@ -685,6 +688,7 @@ write_server( int sock, const char *data, size_t length )
return 0;
}
+#endif /* HAVE_DOSISH_SYSTEM */
/**** Test code ****/
#ifdef TEST