Include configure determined flags via setup.h

Compilation issued warnings about missing prototypes without the flags to include unistd.h.
This commit is contained in:
Stefan Csomor 2017-06-22 22:51:08 +02:00
parent e15d417a76
commit 1b6dfb8324

View File

@ -8,6 +8,11 @@
#ifndef ZCONF_H
#define ZCONF_H
#ifdef __APPLE__
/* use wxWidgets' configure */
#include "wx/setup.h"
#endif
/*
* If you *really* need a unique prefix for all types and library functions,
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.