summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsJavaLexer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDependsJavaLexer.cxx')
-rw-r--r--Source/cmDependsJavaLexer.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmDependsJavaLexer.cxx b/Source/cmDependsJavaLexer.cxx
index ac0da73..a168a7d 100644
--- a/Source/cmDependsJavaLexer.cxx
+++ b/Source/cmDependsJavaLexer.cxx
@@ -23,6 +23,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 */