[LinuxBIOS] [PATCH] fix getpir with bit userspace

Rudolf Marek r.marek at assembler.cz
Fri Apr 6 00:20:40 CEST 2007


Peter Stuge wrote:
> Hi Rudolf,
> 
> On Fri, Apr 06, 2007 at 12:10:22AM +0200, Rudolf Marek wrote:
>> +void *memmem(const void *haystack, size_t haystacklen,
>> +                    const void *needle, size_t needlelen);
>> +
> 
> Shouldn't this just be pulled from #include <string.h> ?
> 
> Or do we want to duplicate it because it needs _GNU_SOURCE ?

And if you define it it will complain even more :/ because of the included 
kernel stuff you get some redefines. This fix is not ideal but works fine.

Rudolf





More information about the coreboot mailing list