diff options
author | Peter Rosin <peda@lysator.liu.se> | 2013-05-29 12:01:07 +0200 |
---|---|---|
committer | Peter Rosin <peda@lysator.liu.se> | 2013-05-29 12:01:07 +0200 |
commit | a4598c57d3dded53851f1319f23d187b2c8132d3 (patch) | |
tree | b6177bfe3e69de44caae3319b99e972bd80aa0e2 /t/lex-header.sh | |
parent | 030255252171248ff02da20b3f3f8c54b7bb31f9 (diff) | |
download | automake-a4598c57d3dded53851f1319f23d187b2c8132d3.tar.gz |
tests: avoid a spurious failure on non-POSIX systems
Fixes automake bug#14495.
* t/lex-header.sh: Make sure unistd.h isn't included.
Signed-off-by: Peter Rosin <peda@lysator.liu.se>
Diffstat (limited to 't/lex-header.sh')
-rw-r--r-- | t/lex-header.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/lex-header.sh b/t/lex-header.sh index 005ae8692..0789af4ed 100644 --- a/t/lex-header.sh +++ b/t/lex-header.sh @@ -55,6 +55,7 @@ cat > lexer.l << 'END' END cat > main.c <<'END' +#define YY_NO_UNISTD_H 1 #include "mylex.h" int main (void) { |