diff options
author | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2000-04-13 08:37:57 +0000 |
---|---|---|
committer | tradke <tradke@b589c3ab-70e8-4b4d-a09f-cba2dd200880> | 2000-04-13 08:37:57 +0000 |
commit | 6ae34e7fe412b816d8d313e5cd9157ffdf32bffb (patch) | |
tree | 5e856da6480c1407e31649853fb874f74c2cc9b7 /src | |
parent | d0868bde35d7b95243f04b12acacb806052de6da (diff) |
#ifdef HAVE_UNISTD_H around #include <unistd.h>
Thanks Tom.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@50 b589c3ab-70e8-4b4d-a09f-cba2dd200880
Diffstat (limited to 'src')
-rw-r--r-- | src/Write.c | 2 | ||||
-rw-r--r-- | src/WriteGF.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/Write.c b/src/Write.c index a41e90c..8751267 100644 --- a/src/Write.c +++ b/src/Write.c @@ -15,7 +15,9 @@ #include <stdio.h> #include <stdlib.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> /* access(2) */ +#endif #include "cctk.h" #include "cctk_Parameters.h" diff --git a/src/WriteGF.c b/src/WriteGF.c index 73be217..84bc7a8 100644 --- a/src/WriteGF.c +++ b/src/WriteGF.c @@ -15,7 +15,9 @@ #include <stdio.h> #include <stdlib.h> +#ifdef HAVE_UNISTD_H #include <unistd.h> /* access(2) */ +#endif #include "cctk.h" #include "cctk_Parameters.h" |