summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/color-profile.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/color-profile.cpp b/src/color-profile.cpp
index 6e180ab4f..37ebc4f30 100644
--- a/src/color-profile.cpp
+++ b/src/color-profile.cpp
@@ -16,13 +16,10 @@
#include <string>
#ifdef WIN32
-#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
+#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later. Required for correctly including icm.h
#define _WIN32_WINDOWS 0x0410
#endif
-#if ENABLE_LCMS
-#else
#include <windows.h>
-#endif // ENABLE_LCMS
#endif
#include "xml/repr.h"