summaryrefslogtreecommitdiff
blob: 72e561c8152b1bd84cec9ee7f6d28928110bbc45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- lcms2-2.2/utils/transicc/transicc.c.orig
+++ lcms2-2.2/utils/transicc/transicc.c
@@ -26,6 +26,10 @@
 
 #include "utils.h"
 
+#ifndef _MSC_VER
+#include <unistd.h>
+#endif
+
 #ifdef CMS_IS_WINDOWS_
 #include <io.h>
 #endif