diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-06-09 22:46:00 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-06-09 22:46:00 +0000 |
commit | 06256dfe5b7b0402d15ea2f7bdec2801e69aafbe (patch) | |
tree | 1e8309e61f0d3a5666b3da7a29f689f6d38f40e5 /wiretap/file_wrappers.c | |
parent | ae4c6d08caa69a52928e2d69a921cf7e48460a22 (diff) |
The only place where we care about zlib is file_wrappers.c; include
<zlib.h> there, rather than wtap-int.h. That obviates the need to
include config.h earlier in ascend_scanner.l; revert the previous
change, so we don't require a version of Flex that supports %top.
svn path=/trunk/; revision=37640
Diffstat (limited to 'wiretap/file_wrappers.c')
-rw-r--r-- | wiretap/file_wrappers.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wiretap/file_wrappers.c b/wiretap/file_wrappers.c index 31c70f7638..030f352518 100644 --- a/wiretap/file_wrappers.c +++ b/wiretap/file_wrappers.c @@ -59,6 +59,10 @@ #include "file_wrappers.h" #include <wsutil/file_util.h> +#ifdef HAVE_LIBZ +#include <zlib.h> +#endif /* HAVE_LIBZ */ + /* * See RFC 1952 for a description of the gzip file format. * |