[babl/wip/msvc] babl/babl-extension.c: Don't include unistd.h on Windows
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl/wip/msvc] babl/babl-extension.c: Don't include unistd.h on Windows
- Date: Mon, 20 Jan 2020 09:58:10 +0000 (UTC)
commit 39e3bb173c096c9ee01e2c2950c1e58fd4dd14da
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Jan 20 17:08:46 2020 +0800
babl/babl-extension.c: Don't include unistd.h on Windows
It is not universally available on Windows...
babl/babl-extension.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/babl/babl-extension.c b/babl/babl-extension.c
index 41edb8e9b..0e66a108c 100644
--- a/babl/babl-extension.c
+++ b/babl/babl-extension.c
@@ -126,7 +126,10 @@ babl_extension_deinit (void)
#include <dirent.h>
#include <sys/types.h>
#include <sys/stat.h>
+
+#ifndef WIN32
#include <unistd.h>
+#endif
#ifdef HAVE_DLFCN_H
#ifndef WIN32
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]