summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsJavaLexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDependsJavaLexer.h')
-rw-r--r--Source/cmDependsJavaLexer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDependsJavaLexer.h b/Source/cmDependsJavaLexer.h
index 78ee089..df7cffd 100644
--- a/Source/cmDependsJavaLexer.h
+++ b/Source/cmDependsJavaLexer.h
@@ -38,7 +38,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