work around flex bug
flex emits code using isatty(), but fails to include the required unistd.h. we can work around it by including the header ourselves. Task-number: QTBUG-64771 Change-Id: I05313eeb79f7a0e25365dee5f05a0142f87209ae Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
d80fde62ed
commit
0f1b8fd2dc
@ -33,6 +33,9 @@
|
||||
#include "calc_parser.h"
|
||||
#include <cstdlib>
|
||||
|
||||
// Work around flex bug
|
||||
#include <unistd.h>
|
||||
|
||||
#define YY_DECL int CalcParser::nextToken()
|
||||
%}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user