From a30e4db9672df89a68d598b98a340d3d5a825b8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 7 Jul 2020 03:48:34 +0000 Subject: fccompat: fix build on Windows without unistd.h https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/access-waccess?view=vs-2019 --- fc-cache/fc-cache.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fc-cache') diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c index 091eed4..4138d0b 100644 --- a/fc-cache/fc-cache.c +++ b/fc-cache/fc-cache.c @@ -34,7 +34,9 @@ #include #include #include +#ifdef HAVE_UNISTD_H #include +#endif #include #include #include -- cgit v1.2.1