aboutsummaryrefslogtreecommitdiff
path: root/ports/cairo/0001_fix_osx_defined.patch
blob: 7365dcce240aba11f8deff8e8815cfc96fe796e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c
index 3b308757..36700ff0 100644
--- a/src/cairo-ft-font.c
+++ b/src/cairo-ft-font.c
@@ -67,7 +67,7 @@
 #include FT_LCD_FILTER_H
 #endif
 
-#if HAVE_UNISTD_H
+#if defined(HAVE_UNISTD_H)
 #include <unistd.h>
 #else
 #define access(p, m) 0