diff -Nurp fontconfig-2.8.0.org/fontconfig/fontconfig.h fontconfig-2.8.0/fontconfig/fontconfig.h --- fontconfig-2.8.0.org/fontconfig/fontconfig.h 2009-11-19 00:49:23.000000000 +0100 +++ fontconfig-2.8.0/fontconfig/fontconfig.h 2010-02-27 02:39:01.000000000 +0100 @@ -27,7 +27,9 @@ #include <sys/types.h> #include <sys/stat.h> -#include <unistd.h> +#ifndef _MSC_VER +# include <unistd.h> +#endif #include <stdarg.h> #if defined(__GNUC__) && (__GNUC__ >= 4)
I simply removed that one since the public header doesn't use it.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.