summaryrefslogtreecommitdiff
path: root/Source/cmDependsJavaLexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDependsJavaLexer.h')
-rw-r--r--Source/cmDependsJavaLexer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmDependsJavaLexer.h b/Source/cmDependsJavaLexer.h
index c32a364a9f..0379c852b8 100644
--- a/Source/cmDependsJavaLexer.h
+++ b/Source/cmDependsJavaLexer.h
@@ -22,6 +22,10 @@
#include <errno.h>
#include <stdlib.h>
+#if defined(__BEOS__)
+#include <unistd.h> /* prevents a conflict with a #define later on... */
+#endif
+
/* end standard C headers. */
/* flex integer type definitions */