diff options
Diffstat (limited to 'perform')
-rw-r--r-- | perform/overhead.c | 3 | ||||
-rw-r--r-- | perform/pio_engine.c | 2 | ||||
-rw-r--r-- | perform/pio_perf.h | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/perform/overhead.c b/perform/overhead.c index b0546ba..903776e 100644 --- a/perform/overhead.c +++ b/perform/overhead.c @@ -11,6 +11,7 @@ /* See H5private.h for how to include headers */ #undef NDEBUG #include "hdf5.h" +#include "H5private.h" #ifdef H5_STDC_HEADERS # include <ctype.h> @@ -186,7 +187,7 @@ test(fill_t fill_style, const double splits[], int mdc_nelmts; /*num meta objs to cache*/ hsize_t i; int j; - struct stat sb; + h5_stat_t sb; if (!had) had = calloc((size_t)cur_size[0], sizeof(int)); if ((fapl=H5Pcreate(H5P_FILE_ACCESS))<0) goto error; diff --git a/perform/pio_engine.c b/perform/pio_engine.c index efcfa98..5a796e7 100644 --- a/perform/pio_engine.c +++ b/perform/pio_engine.c @@ -412,7 +412,7 @@ pio_create_filename(iotype iot, const char *base_name, char *fullname, size_t si if ((strlen(fullname) + strlen(base_name) + 1) < size) { /* Append the base_name with a slash first. Multiple slashes are * handled below. */ - struct stat buf; + h5_stat_t buf; if (stat(fullname, &buf) < 0) /* The directory doesn't exist just yet */ diff --git a/perform/pio_perf.h b/perform/pio_perf.h index 3c60756..531fc4b 100644 --- a/perform/pio_perf.h +++ b/perform/pio_perf.h @@ -8,6 +8,7 @@ #define PIO_PERF_H__ #include "pio_timer.h" +#include "H5private.h" typedef enum iotype_ { RAW, |