Commits

obo  committed d9732fd

#i102679# build fix

  • Participants
  • Parent commits f48702d

Comments (0)

Files changed (2)

File sdext/source/pdfimport/xpdfwrapper/makefile.mk

 
 .INCLUDE: settings.mk
 
+.IF "$(SYSTEM_ZLIB)" == "YES"
+CFLAGS+=-DSYSTEM_ZLIB
+.ENDIF
+
 .IF "$(ENABLE_PDFIMPORT)" == "NO"
 @all:
 	@echo "PDF Import extension disabled."

File sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx

 
 #include "pnghelper.hxx"
 
-#include "zlib/zlib.h"
+#ifdef SYSTEM_ZLIB
+#include "zlib.h"
+#else
+#include <zlib/zlib.h>
+#endif
 
 using namespace pdfi;