diff options
Diffstat (limited to 'tools/perform/sio_engine.c')
-rw-r--r-- | tools/perform/sio_engine.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/tools/perform/sio_engine.c b/tools/perform/sio_engine.c index 5622810..505b0f7 100644 --- a/tools/perform/sio_engine.c +++ b/tools/perform/sio_engine.c @@ -16,17 +16,23 @@ * Author: Christian Chilan, April 2008 */ -#include <sys/types.h> -#include <sys/stat.h> +#include "hdf5.h" + +#ifdef H5_STDC_HEADERS +#include <errno.h> +#include <fcntl.h> #include <stdio.h> #include <stdlib.h> -#include <fcntl.h> +#endif + #ifdef H5_HAVE_UNISTD_H -# include <unistd.h> +#include <sys/types.h> +#include <unistd.h> #endif -#include <errno.h> -#include "hdf5.h" +#ifdef H5_HAVE_SYS_STAT_H +#include <sys/stat.h> +#endif #include "sio_perf.h" |