summaryrefslogtreecommitdiffstats
path: root/Source/cmDependsJavaLexer.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-12-04 22:26:41 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-12-04 22:26:41 (GMT)
commit3a32cec96923cf057aad00274b4a8ab7ad82a82f (patch)
tree304527c04dbad8b51ce2bccda1a434f424bf1a9a /Source/cmDependsJavaLexer.cxx
parentde8ffcaef492e23af57ed5489dd8a21fdd7ad5d8 (diff)
downloadCMake-3a32cec96923cf057aad00274b4a8ab7ad82a82f.zip
CMake-3a32cec96923cf057aad00274b4a8ab7ad82a82f.tar.gz
CMake-3a32cec96923cf057aad00274b4a8ab7ad82a82f.tar.bz2
ENH: merge in changes for beos support
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 */