summaryrefslogtreecommitdiff
path: root/xmlwf/readfilemap.c
diff options
context:
space:
mode:
authorfdrake <fdrake>2004-04-30 03:44:34 +0000
committerfdrake <fdrake>2004-04-30 03:44:34 +0000
commitd02e0aaa9892be267de2ecb86fba0dcceda5dc30 (patch)
treeb3285d832d65fa7b6d9a7f6aeccaa2a21f619fce /xmlwf/readfilemap.c
parent7ded5d3fd5103ee8160e1c839d88715aaaf64da1 (diff)
downloadlibexpat-d02e0aaa9892be267de2ecb86fba0dcceda5dc30.tar.gz
patch from Shard (neoni dot net) to support BeOS
Diffstat (limited to 'xmlwf/readfilemap.c')
-rwxr-xr-xxmlwf/readfilemap.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xmlwf/readfilemap.c b/xmlwf/readfilemap.c
index 64c6985..42b5e03 100755
--- a/xmlwf/readfilemap.c
+++ b/xmlwf/readfilemap.c
@@ -8,6 +8,10 @@
#include <stdlib.h>
#include <stdio.h>
+#ifdef __BEOS__
+#include <unistd.h>
+#endif
+
#ifndef S_ISREG
#ifndef S_IFREG
#define S_IFREG _S_IFREG