summaryrefslogtreecommitdiffstats
path: root/util/http.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-05-23 14:29:05 +0200
committerWerner Koch <wk@gnupg.org>1999-05-23 14:29:05 +0200
commitc7447e78e2abb1298fecb9861fe420109c91f14f (patch)
treeb7a7954789898fc3cac24f43cbd0d32ec139f9f2 /util/http.c
parentSee ChangeLog: Sat May 22 22:47:26 CEST 1999 Werner Koch (diff)
downloadgnupg2-c7447e78e2abb1298fecb9861fe420109c91f14f.tar.xz
gnupg2-c7447e78e2abb1298fecb9861fe420109c91f14f.zip
See ChangeLog: Sun May 23 14:20:22 CEST 1999 Werner Koch
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