[libgdata: 1/3] tests: Exclude some header files for Win32 platform




commit 05d6f358288872f8cd1f9d5f50ab00450e531e0a
Author: Biswapriyo Nath <nathbappai gmail com>
Date:   Thu Jan 6 18:50:07 2022 +0530

    tests: Exclude some header files for Win32 platform

 gdata/tests/streams.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/gdata/tests/streams.c b/gdata/tests/streams.c
index 7158754f..6ba5f960 100644
--- a/gdata/tests/streams.c
+++ b/gdata/tests/streams.c
@@ -22,10 +22,12 @@
 #include <glib.h>
 #include <locale.h>
 #include <string.h>
-#include <arpa/inet.h>
 #include <sys/types.h>
+#ifndef G_OS_WIN32
+#include <arpa/inet.h>
 #include <netinet/in.h>
 #include <sys/socket.h>
+#endif
 
 #include "gdata.h"
 #include "common.h"


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