diff options
author | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1998-11-10 18:18:31 (GMT) |
---|---|---|
committer | Patrick Lu <ptlu@hawkwind.ncsa.uiuc.edu> | 1998-11-10 18:18:31 (GMT) |
commit | e1ae92a6bbf4bc6806d4799107d86c610a000133 (patch) | |
tree | 16c52a3e698bf505f9a166a32fb698e5092874a4 | |
parent | b7267be71a2040ff7db2c913000a05d825a0a9e0 (diff) | |
download | hdf5-e1ae92a6bbf4bc6806d4799107d86c610a000133.zip hdf5-e1ae92a6bbf4bc6806d4799107d86c610a000133.tar.gz hdf5-e1ae92a6bbf4bc6806d4799107d86c610a000133.tar.bz2 |
[svn-r897] added a #ifdef HAVE_UNISTD_H around the unistd.h include
-rw-r--r-- | tools/h5import.c | 3 | ||||
-rw-r--r-- | tools/h5repart.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/h5import.c b/tools/h5import.c index 9fc2454..a5c030a 100644 --- a/tools/h5import.c +++ b/tools/h5import.c @@ -13,8 +13,9 @@ #include <stdlib.h> #include <stdio.h> #include <sys/stat.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> - +#endif /*------------------------------------------------------------------------- * Function: usage diff --git a/tools/h5repart.c b/tools/h5repart.c index 03ef471..4561a91 100644 --- a/tools/h5repart.c +++ b/tools/h5repart.c @@ -19,8 +19,9 @@ #include <stdlib.h> #include <string.h> #include <sys/stat.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> - +#endif #define FALSE 0 #define TRUE 1 #define NAMELEN 4096 |