summaryrefslogtreecommitdiff
path: root/flex.skl
diff options
context:
space:
mode:
authorWill Estes <wlestes@users.sourceforge.net>2002-08-15 14:49:19 +0000
committerWill Estes <wlestes@users.sourceforge.net>2002-08-15 14:49:19 +0000
commit39e6b9fb7cdbddcd0dbf44ea2d62e0714a643213 (patch)
tree96a7d3cc44804cba068fdc7751378242d9d8e8d7 /flex.skl
parent50c407676e7e31ac804697d9bfb7d6cd9cf88a9b (diff)
only include <cunistd> if we have it
Diffstat (limited to 'flex.skl')
-rw-r--r--flex.skl2
1 files changed, 2 insertions, 0 deletions
diff --git a/flex.skl b/flex.skl
index 668aec3..f7a3aab 100644
--- a/flex.skl
+++ b/flex.skl
@@ -479,7 +479,9 @@ static void yy_fatal_error YY_PARAMS(( yyconst char msg[] YY_PROTO_LAST_ARG ));
%-
#include <unistd.h>
%+
+#ifdef HAVE_CUNISTD
#include <cunistd>
+#endif
%*
#endif /* !YY_NO_UNISTD_H */