This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Include <string.h> to dis-asm.h to get strchr declaration


Hi Simon,

>> Include <string.h> to dis-asm.h to get strchr declaration

>>  #include <stdio.h>
>> +#include <string.h>
>>  #include "bfd.h"

> I took the liberty of pushing this patch which touches code in include/, since it seemed obvious enough to me.

Do we need to worry about systems that have <strings.h> rather than <string.h> ?

There are various places in the binutils sources (eg binutils/sysdep.h) which
check for configure macros for these headers, which makes me wonder...

Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]