This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: strcasecmp prototype


Aleksandar Ristovski wrote:

> The attached patch adds #include <strings.h> to gdb_string.h. It is needed
> for c-exp.y, for strcasecmp declaration.

It looks like this is provided in <string.h> by glibc headers,
but this is really an extension; <strings.h> is the place POSIX
says should be used for strcasecmp ...

So I guess the patch is the right thing to do.


> 2007-11-06  Aleksandar Ristovski <aristovski@qnx.com>
> 
>         * gdb_string.h: Include <strings.h>.

I've committed this.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


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