summaryrefslogtreecommitdiff
path: root/t/lex-header.sh
diff options
context:
space:
mode:
authorPeter Rosin <peda@lysator.liu.se>2013-05-29 12:01:07 +0200
committerPeter Rosin <peda@lysator.liu.se>2013-05-29 12:01:07 +0200
commita4598c57d3dded53851f1319f23d187b2c8132d3 (patch)
treeb6177bfe3e69de44caae3319b99e972bd80aa0e2 /t/lex-header.sh
parent030255252171248ff02da20b3f3f8c54b7bb31f9 (diff)
downloadautomake-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.sh1
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)
{