From afdf7fcfa6adbadf46f71ccdea52bef769d5285d Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Fri, 4 Mar 2005 12:01:02 -0500 Subject: [svn-r10144] Purpose: Bug fix Description: The GASS VFL driver header file was bringing in the header file, which several other source code modules needed also, but weren't including explicitly themselves. Solution: Add includes for to files which actually need them. Platforms tested: FreeBSD 4.11 (sleipnir) w/C++ as CC Configuration not tested by h5committest... --- hl/test/test_ds.c | 1 + hl/test/test_table.c | 1 + src/H5FDmulti.c | 1 + src/H5FDstdio.c | 1 + tools/h5diff/h5diff_common.c | 1 + tools/h5repack/h5repack.h | 1 + 6 files changed, 6 insertions(+) diff --git a/hl/test/test_ds.c b/hl/test/test_ds.c index 501aa35..83ab7f7 100644 --- a/hl/test/test_ds.c +++ b/hl/test/test_ds.c @@ -16,6 +16,7 @@ #include "H5DS.h" #include "H5LT.h" #include +#include /* operator functions */ static herr_t verifiy_scale(hid_t dset, unsigned dim, hid_t scale, void *visitor_data); diff --git a/hl/test/test_table.c b/hl/test/test_table.c index 82c6d91..42987b2 100644 --- a/hl/test/test_table.c +++ b/hl/test/test_table.c @@ -16,6 +16,7 @@ #include "H5TB.h" #include +#include #include #define TEST_FILE_BE "test_table_be.hdf5" diff --git a/src/H5FDmulti.c b/src/H5FDmulti.c index e54faf6..c2da0b8 100644 --- a/src/H5FDmulti.c +++ b/src/H5FDmulti.c @@ -25,6 +25,7 @@ */ #include #include +#include /* Disable certain warnings in PC-Lint: */ /*lint --emacro( {534, 830}, H5P_DEFAULT, H5P_FILE_ACCESS, H5P_DATASET_XFER) */ diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c index 9c86c39..0dd2901 100644 --- a/src/H5FDstdio.c +++ b/src/H5FDstdio.c @@ -25,6 +25,7 @@ */ #include #include +#include #include /* Disable certain warnings in PC-Lint: */ diff --git a/tools/h5diff/h5diff_common.c b/tools/h5diff/h5diff_common.c index 640bea4..5c3e793 100644 --- a/tools/h5diff/h5diff_common.c +++ b/tools/h5diff/h5diff_common.c @@ -13,6 +13,7 @@ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ #include +#include #include "h5diff.h" #include "h5diff_common.h" diff --git a/tools/h5repack/h5repack.h b/tools/h5repack/h5repack.h index 434131c..315079d 100644 --- a/tools/h5repack/h5repack.h +++ b/tools/h5repack/h5repack.h @@ -16,6 +16,7 @@ #ifndef H5REPACK_H__ #define H5REPACK_H__ +#include #include "hdf5.h" #include "h5trav.h" #include "h5diff.h" -- cgit v0.12