aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.c
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2015-11-30 17:35:34 +0000
committerAnders Broman <a.broman58@gmail.com>2015-12-16 05:40:41 +0000
commitfb0246c6fd7cd34b820558f75eb48bba6326b768 (patch)
treee4e3acd0e25331e71d5521c6af6f1ed6a5dff089 /wiretap/wtap.c
parentc7ac304e7487489e9a32847ec3f5e253b7d81625 (diff)
Make zlib API constness-aware
ZLIB_CONST must be defined before including zlib.h to expose 'z_const'. Change-Id: Ic0dbd59ed3c760dd84ef4546f6ff4d5d3db91519 Reviewed-on: https://code.wireshark.org/review/12547 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wiretap/wtap.c')
-rw-r--r--wiretap/wtap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/wiretap/wtap.c b/wiretap/wtap.c
index 30b66cd46f..c4c35e8a74 100644
--- a/wiretap/wtap.c
+++ b/wiretap/wtap.c
@@ -27,10 +27,6 @@
#include <sys/types.h>
#endif
-#ifdef HAVE_LIBZ
-#include <zlib.h>
-#endif
-
#include "wtap-int.h"
#include "file_wrappers.h"