Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/smoke/intern/IMAGE.h')
-rw-r--r--intern/smoke/intern/IMAGE.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/smoke/intern/IMAGE.h b/intern/smoke/intern/IMAGE.h
index a57f164509e..ba9b469727b 100644
--- a/intern/smoke/intern/IMAGE.h
+++ b/intern/smoke/intern/IMAGE.h
@@ -74,7 +74,11 @@ template < class T > inline float MIN3V( T vec) {
//////////////////////////////////////////////////////////////////////
// PNG, POV-Ray, and PBRT output functions
//////////////////////////////////////////////////////////////////////
+#ifdef WIN32
+#include "png.h"
+#else
#include <png.h>
+#endif
namespace IMAGE {
/*