]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
filebundle: try to fix build error for older zlib.. #3
authorJaroslav Kysela <perex@perex.cz>
Sat, 24 Jan 2015 19:58:57 +0000 (20:58 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 24 Jan 2015 19:58:57 +0000 (20:58 +0100)
src/filebundle.c

index 8e394252cf54950ca169158d4aec7bc9a5ef7efd..dbc2b16ad4bf368340bb4ebab7be28e9674737ef 100644 (file)
 #include <string.h>
 #include <stdio.h>
 #if ENABLE_ZLIB
-#define z_const const
+#define ZLIB_CONST 1
 #include <zlib.h>
+#ifndef z_const
+#define z_const
+#endif
 #endif
 #include <sys/types.h>
 #include <sys/stat.h>