diff options
Diffstat (limited to 'hl')
-rw-r--r-- | hl/test/test_dset_opt.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/hl/test/test_dset_opt.c b/hl/test/test_dset_opt.c index 0a0674b..79f7eda 100644 --- a/hl/test/test_dset_opt.c +++ b/hl/test/test_dset_opt.c @@ -18,9 +18,15 @@ #include "h5hltest.h" #include "H5srcdir.h" #include "H5DOpublic.h" -#include <zlib.h> #include <math.h> +#if defined(H5_HAVE_ZLIB_H) && !defined(H5_ZLIB_HEADER) +# define H5_ZLIB_HEADER "zlib.h" +#endif +#if defined(H5_ZLIB_HEADER) +# include H5_ZLIB_HEADER /* "zlib.h" */ +#endif + #define FILE_NAME "test_dectris.h5" #define DATASETNAME1 "direct_write" |