[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gnulib] Re: vasnprintf include alloca.h unconditionally
From: |
Simon Josefsson |
Subject: |
[bug-gnulib] Re: vasnprintf include alloca.h unconditionally |
Date: |
Sat, 18 Dec 2004 02:37:57 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> Simon Josefsson wrote:
>> vasnprintf depend only optionally on alloca, via alloca-opt, but
>> include alloca.h unconditionally. How about this patch?
>>
>> --- vasnprintf.c 08 Sep 2004 14:31:04 +0200 1.14
>> +++ vasnprintf.c 17 Dec 2004 19:04:57 +0100
>> @@ -25,7 +25,7 @@
>> #ifdef HAVE_CONFIG_H
>> # include <config.h>
>> #endif
>> -#ifndef IN_LIBINTL
>> +#if HAVE_ALLOCA
>> # include <alloca.h>
>> #endif
>
> It's not needed, because the module alloca-opt ensures that there will be
> an alloca.h file, in the build directory if not in /usr/include.
Right, never mind.
Thanks.