diff options
author | Ray Molenkamp <github@lazydodo.com> | 2020-03-18 22:26:38 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2020-03-18 22:26:38 +0300 |
commit | c102dfd43d5ce6b159112b66cb80d233620e58dc (patch) | |
tree | 0b4aef812be0df16126f6300d8e724af5bbd55f7 /source/blender/imbuf/intern/util.c | |
parent | 6bfe7c7a02bd27b155990efdd51d0984d9619ce9 (diff) |
Cleanup: Prepare for sorted headers on windows
To prepare for D6811 small changes were needed.
we can no longer undefine near/far since the windows
headers use those extensively.
some of the imbuf files need to include the windows
headers explicitly to make sure it builds.
Diffstat (limited to 'source/blender/imbuf/intern/util.c')
-rw-r--r-- | source/blender/imbuf/intern/util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/imbuf/intern/util.c b/source/blender/imbuf/intern/util.c index 27b566e25a2..a8aabf384c8 100644 --- a/source/blender/imbuf/intern/util.c +++ b/source/blender/imbuf/intern/util.c @@ -31,6 +31,9 @@ #include "BLI_utildefines.h" #include "BLI_path_util.h" #include "BLI_fileops.h" +#ifdef _WIN32 +# include "BLI_winstuff.h" +#endif #include "imbuf.h" #include "IMB_imbuf_types.h" |