summaryrefslogtreecommitdiff
path: root/soltools/mkdepend/def.h
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2002-06-06 10:55:03 +0000
committerHans-Joachim Lankenau <hjs@openoffice.org>2002-06-06 10:55:03 +0000
commitc514b6eb7896e6dc6fd354c2b216398fe48f3f5c (patch)
treee6c6e219eccc3b5e70e9a2e8790268e892d1fccb /soltools/mkdepend/def.h
parent2c77c0ef31119d45658e884545c078c5074a6eb2 (diff)
set defines from stat.h if still missing
Diffstat (limited to 'soltools/mkdepend/def.h')
-rw-r--r--soltools/mkdepend/def.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/soltools/mkdepend/def.h b/soltools/mkdepend/def.h
index 4ce5acdebe95..561a42499832 100644
--- a/soltools/mkdepend/def.h
+++ b/soltools/mkdepend/def.h
@@ -49,6 +49,14 @@ in this Software without prior written authorization from the X Consortium.
#include <fcntl.h>
#include <sys/stat.h>
+#ifndef S_IFDIR
+#define S_IFDIR 0040000
+#endif
+
+#ifndef S_IFREG
+#define S_IFREG 0100000
+#endif
+
#define MAXDEFINES 512
#define MAXFILES 2048 /* Increased from 512. -mcafee */
/* Increased from 1024. -mh */