From a4598c57d3dded53851f1319f23d187b2c8132d3 Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Wed, 29 May 2013 12:01:07 +0200 Subject: [PATCH] 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 --- t/lex-header.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/t/lex-header.sh b/t/lex-header.sh index 005ae86..0789af4 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) { -- 2.7.4