diff options
Diffstat (limited to 'tools/h5repart.c')
-rw-r--r-- | tools/h5repart.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/h5repart.c b/tools/h5repart.c index 6704f38..74acb26 100644 --- a/tools/h5repart.c +++ b/tools/h5repart.c @@ -14,6 +14,7 @@ /* See H5private.h for how to include system headers */ #include <hdf5.h> +#include <h5tools.h> #ifdef H5_STDC_HEADERS # include <ctype.h> # include <errno.h> @@ -21,16 +22,33 @@ # include <stdio.h> # include <stdlib.h> # include <string.h> +#elif defined STDC_HEADERS +# include <ctype.h> +# include <errno.h> +# include <fcntl.h> +# include <stdio.h> +# include <stdlib.h> +# include <string.h> #endif #ifdef H5_HAVE_UNISTD_H # include <sys/types.h> # include <unistd.h> +#elif defined HAVE_UNISTD_H +# include <sys/types.h> +# include <unistd.h> #endif + +#if defined VERSION12 +#ifdef HAVE_SYS_STAT_H +# include <sys/stat.h> +#endif +#elif defined VERSION13 #ifdef H5_HAVE_SYS_STAT_H # include <sys/stat.h> #endif +#endif #ifndef FALSE #define FALSE 0 |