summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/lex.yy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/lex.yy.c')
-rw-r--r--src/mesa/shader/lex.yy.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/shader/lex.yy.c b/src/mesa/shader/lex.yy.c
index fefef573ee5..408ede6eaa7 100644
--- a/src/mesa/shader/lex.yy.c
+++ b/src/mesa/shader/lex.yy.c
@@ -913,6 +913,10 @@ static yyconst flex_int16_t yy_chk[1023] =
#define require_rect (yyextra->option.TexRect)
#define require_texarray (yyextra->option.TexArray)
+#ifndef HAVE_UNISTD_H
+#define YY_NO_UNISTD_H
+#endif
+
#define return_token_or_IDENTIFIER(condition, token) \
do { \
if (condition) { \