From 03d06c175ffb5f6942147de6fa972452d4ae97c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 20 Feb 2018 00:56:35 +0000 Subject: [PATCH] gwin32networkmonitor: fix build with MSVC Don't include unistd.h unconditionally. --- gio/gwin32networkmonitor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gio/gwin32networkmonitor.c b/gio/gwin32networkmonitor.c index 8380f0100..9a090af7a 100644 --- a/gio/gwin32networkmonitor.c +++ b/gio/gwin32networkmonitor.c @@ -21,7 +21,10 @@ #include "config.h" #include + +#ifdef HAVE_UNISTD_H #include +#endif #include #include