Code

Fixed include to ensure file compiles with lcms disabled
authorMarcin Floryan <mfloryan@mm.waw.pl>
Sun, 14 Nov 2010 17:20:59 +0000 (17:20 +0000)
committerMarcin Floryan <mfloryan@mm.waw.pl>
Sun, 14 Nov 2010 17:20:59 +0000 (17:20 +0000)
src/color-profile.cpp

index 1352e4e1454632da7a32e627d491f92780f97e5a..c42cd42eabd225fabd038a888fd0b71693789294 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <cstring>
 #include <string>
+#include <io/sys.h>
 
 #ifdef WIN32
 #ifndef _WIN32_WINDOWS         // Allow use of features specific to Windows 98 or later. Required for correctly including icm.h
@@ -557,9 +558,6 @@ bool ColorProfile::GamutCheck(SPColor color){
     return (outofgamut == 255);
 }
 
-
-#include <io/sys.h>
-
 class ProfileInfo
 {
 public: