From 16593b506aeb6489eb3c24e3c54209311e948e05 Mon Sep 17 00:00:00 2001
From: Nathan Letwory <nathan@letworyinteractive.com>
Date: Thu, 23 Sep 2004 21:27:16 +0000
Subject: [PATCH] make sure this also builds on Windows.

---
 source/blender/python/api2_2x/Image.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/source/blender/python/api2_2x/Image.c b/source/blender/python/api2_2x/Image.c
index 2ef745c8f9b..a4a01c62af1 100644
--- a/source/blender/python/api2_2x/Image.c
+++ b/source/blender/python/api2_2x/Image.c
@@ -30,6 +30,10 @@
  * ***** END GPL/BL DUAL LICENSE BLOCK *****
 */
 
+#ifdef WIN32
+#include "BLI_winstuff.h"
+#endif /* WIN32*/
+
 #include <BKE_main.h>
 #include <BKE_global.h>
 #include <BKE_library.h>
-- 
GitLab