Include strings.h where available
gdb/ChangeLog 2016-10-14 Eli Zaretskii <eliz@gnu.org> * common/common-defs.h [HAVE_STRINGS_H]: Include strings.h if available, to get prototypes of 'strcasecmp' and 'strncasecmp'.
This commit is contained in:
parent
64a0223474
commit
8ffc1bb12a
@ -1,3 +1,8 @@
|
||||
2016-10-14 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* common/common-defs.h [HAVE_STRINGS_H]: Include strings.h if
|
||||
available, to get prototypes of 'strcasecmp' and 'strncasecmp'.
|
||||
|
||||
2016-10-13 Pedro Alves <palves@redhat.com>
|
||||
|
||||
* contrib/ari/gdb_ari.sh (boolean): Suggest bool instead.
|
||||
|
@ -49,6 +49,9 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include <string.h>
|
||||
#ifdef HAVE_STRINGS_H
|
||||
#include <strings.h> /* for strcasecmp and strncasecmp */
|
||||
#endif
|
||||
#include <errno.h>
|
||||
#include <alloca.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user