diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/c.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/c.h b/src/include/c.h index f69d739be57..82f8e9d4c7b 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -75,6 +75,11 @@ #include <libintl.h> #endif +/* Define before including zlib.h to add const decorations to zlib API. */ +#ifdef HAVE_LIBZ +#define ZLIB_CONST +#endif + /* ---------------------------------------------------------------- * Section 1: compiler characteristics |