aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknarf <knarf@21a6bef8-4479-4f54-8f8d-0db94a2919ef>2009-02-06 19:49:01 +0000
committerknarf <knarf@21a6bef8-4479-4f54-8f8d-0db94a2919ef>2009-02-06 19:49:01 +0000
commit00881c4ead0e25758c995a3c4373362147c7956f (patch)
treedede68415f9ccd2cc6f0561830698fc0d1e30977
parent8a1a5f3958d489bf9eabc402ce29253c090423cd (diff)
define __USE_BSD so that caddr_t is defined
git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/FlexIO/trunk@92 21a6bef8-4479-4f54-8f8d-0db94a2919ef
-rw-r--r--src/Arch.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Arch.h b/src/Arch.h
index 36501d1..3e63669 100644
--- a/src/Arch.h
+++ b/src/Arch.h
@@ -67,6 +67,7 @@ union Integer8 {
char c[8];
}; /* what can be said about the byte order though? */
#else /* its a Mac or Unix box probably */
+#define __USE_BSD
#include <sys/types.h>
typedef caddr_t IOFile; /* use caddr_t to store pointers */
#endif