[gdk-pixbuf: 1/2] tiff: fix include of windows.h on case-sensitive filesystems



commit 0b7897784f09c8d67b5afc78778c3ef77740e6bc
Author: Benjamin Gilbert <bgilbert backtick net>
Date:   Sun Jun 17 17:31:52 2018 -0400

    tiff: fix include of windows.h on case-sensitive filesystems
    
    On case-sensitive filesystems, such as when cross-compiling from Linux,
    including Windows.h will result in an error.

 gdk-pixbuf/io-tiff.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk-pixbuf/io-tiff.c b/gdk-pixbuf/io-tiff.c
index c25c28707..56de6ffed 100644
--- a/gdk-pixbuf/io-tiff.c
+++ b/gdk-pixbuf/io-tiff.c
@@ -41,7 +41,7 @@
 #ifdef G_OS_WIN32
 #include <fcntl.h>
 #include <io.h>
-#include <Windows.h>
+#include <windows.h>
 #define lseek(a,b,c) _lseek(a,b,c)
 #define O_RDWR _O_RDWR
 #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]