summaryrefslogtreecommitdiff
path: root/filter/source/flash/swfwriter1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/flash/swfwriter1.cxx')
-rw-r--r--filter/source/flash/swfwriter1.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index 0151fa1083c4..3f20b6cab766 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -41,7 +41,13 @@
#include <vcl/graphictools.hxx>
#include <vcl/rendergraphicrasterizer.hxx>
+#ifndef _ZLIB_H
+#ifdef SYSTEM_ZLIB
#include <zlib.h>
+#else
+#include <external/zlib/zlib.h>
+#endif
+#endif
#include <vcl/salbtype.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>