[glib-networking] openssl: strings.h is not available and not needed on MSVC



commit ff0b1c8438f21c9b19a4237ae779532640a144ff
Author: Nirbheek Chauhan <nirbheek centricular com>
Date:   Wed Feb 20 19:58:34 2019 +0530

    openssl: strings.h is not available and not needed on MSVC

 tls/openssl/openssl-util.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/tls/openssl/openssl-util.c b/tls/openssl/openssl-util.c
index 4c8cffe..42df15c 100644
--- a/tls/openssl/openssl-util.c
+++ b/tls/openssl/openssl-util.c
@@ -65,7 +65,9 @@
 
 #include "openssl-util.h"
 #include <string.h>
+#ifndef _MSC_VER
 #include <strings.h>
+#endif
 #include "openssl-include.h"
 
 #ifdef _MSC_VER


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]