fixed windows build

Thu, 08 Oct 2015 12:58:49 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 08 Oct 2015 12:58:49 +0200
changeset 152
ff854d3df20c
parent 151
a316613205dc
child 153
272173064319

fixed windows build

dav/main.c file | annotate | diff | comparison | revisions
libidav/utils.c file | annotate | diff | comparison | revisions
--- a/dav/main.c	Sun Oct 04 18:35:15 2015 +0200
+++ b/dav/main.c	Thu Oct 08 12:58:49 2015 +0200
@@ -36,8 +36,6 @@
 #include <ucx/string.h>
 #include <ucx/utils.h>
 #include <dirent.h>
-#include <termios.h>
-
 
 #include <libidav/utils.h>
 #include <libidav/crypto.h>
--- a/libidav/utils.c	Sun Oct 04 18:35:15 2015 +0200
+++ b/libidav/utils.c	Thu Oct 08 12:58:49 2015 +0200
@@ -36,7 +36,10 @@
 #include <ucx/utils.h>
 #include <libxml/tree.h>
 #include <curl/curl.h>
+
+#ifndef _WIN32
 #include <termios.h>
+#endif
 
 #include <openssl/sha.h>
 #include <openssl/hmac.h>

mercurial