diff options
Diffstat (limited to 'package/source')
-rw-r--r-- | package/source/zipapi/Deflater.cxx | 4 | ||||
-rw-r--r-- | package/source/zipapi/Inflater.cxx | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/package/source/zipapi/Deflater.cxx b/package/source/zipapi/Deflater.cxx index 3333c0d8794b..75d9d39e0436 100644 --- a/package/source/zipapi/Deflater.cxx +++ b/package/source/zipapi/Deflater.cxx @@ -27,7 +27,11 @@ ************************************************************************/ #include <package/Deflater.hxx> +#ifdef SYSTEM_ZLIB #include <zlib.h> +#else +#include <external/zlib/zlib.h> +#endif #include <com/sun/star/packages/zip/ZipConstants.hpp> #include <string.h> // for memset diff --git a/package/source/zipapi/Inflater.cxx b/package/source/zipapi/Inflater.cxx index b83eea021e63..2149e59e5ddf 100644 --- a/package/source/zipapi/Inflater.cxx +++ b/package/source/zipapi/Inflater.cxx @@ -27,7 +27,11 @@ ************************************************************************/ #include <package/Inflater.hxx> +#ifdef SYSTEM_ZLIB #include <zlib.h> +#else +#include <external/zlib/zlib.h> +#endif #include <string.h> // for memset using namespace com::sun::star::uno; |