[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14495: unistd.h problem in t/lex-header.sh
From: |
Peter Rosin |
Subject: |
bug#14495: unistd.h problem in t/lex-header.sh |
Date: |
Wed, 29 May 2013 12:08:40 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 |
On 2013-05-29 11:51, Stefano Lattarini wrote:
> On 05/29/2013 11:43 AM, Peter Rosin wrote:
>> 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)
>> {
>>
Pushing this:
>From a4598c57d3dded53851f1319f23d187b2c8132d3 Mon Sep 17 00:00:00 2001
From: Peter Rosin <address@hidden>
Date: Wed, 29 May 2013 12:01:07 +0200
Subject: [PATCH 1/2] 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 <address@hidden>
---
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 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)
{
--
1.7.9