aboutsummaryrefslogtreecommitdiff
path: root/src/Comm.c
diff options
context:
space:
mode:
authorgoodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364>2000-04-19 10:21:01 +0000
committergoodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364>2000-04-19 10:21:01 +0000
commit82c61b272e2b5a81521f3b6fae4624e89c6438ff (patch)
tree553d9b4607d4af80f8af061769d2da3c3f509e7c /src/Comm.c
parent4f5d39219afa1be62c3ebae5df12b9b1b6537e87 (diff)
Check HAVE_UNISTD_H before including it.
Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@207 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/Comm.c')
-rw-r--r--src/Comm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Comm.c b/src/Comm.c
index a0f515d..6d64d25 100644
--- a/src/Comm.c
+++ b/src/Comm.c
@@ -15,7 +15,10 @@
#include <stdarg.h>
#include <string.h>
#include <assert.h>
+
+#ifdef HAVE_UNISTD_H
#include <unistd.h>
+#endif
#include "cctk.h"