summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hl/src/lex.yy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hl/src/lex.yy.c b/hl/src/lex.yy.c
index 499f3bc..4917c21 100644
--- a/hl/src/lex.yy.c
+++ b/hl/src/lex.yy.c
@@ -23,8 +23,9 @@
#define YY_FLEX_MINOR_VERSION 5
#include <stdio.h>
+#ifdef H5_HAVE_UNISTD_H
#include <unistd.h>
-
+#endif
/* cfront 1.2 defines "c_plusplus" instead of "__cplusplus" */
#ifdef c_plusplus