summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsJavaLexer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDependsJavaLexer.cxx')
-rw-r--r--Source/cmDependsJavaLexer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDependsJavaLexer.cxx b/Source/cmDependsJavaLexer.cxx
index 3af688a..1a5907f 100644
--- a/Source/cmDependsJavaLexer.cxx
+++ b/Source/cmDependsJavaLexer.cxx
@@ -23,7 +23,7 @@
#include <errno.h>
#include <stdlib.h>
-#if defined(__BEOS__)
+#if defined(__BEOS__) || defined (__HAIKU__)
#include <unistd.h> /* prevents a conflict with a #define later on... */
#endif