mesa: Include <unistd.h> only when one is available.
(cherry picked from commit 970823978c
)
This commit is contained in:
parent
2b7b2b90e3
commit
de7021b71c
|
@ -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) { \
|
||||
|
|
|
@ -35,6 +35,10 @@
|
|||
#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) { \
|
||||
|
|
Loading…
Reference in New Issue