From: Pedro Alves Date: Thu, 26 Aug 2010 16:47:05 +0000 (+0000) Subject: * mem-break.c [HAVE_MALLOC_H]: Include malloc.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=331e2f5f988e91f174b9c977879a3aa856e83fc4;p=binutils-gdb.git * mem-break.c [HAVE_MALLOC_H]: Include malloc.h. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 897bb2dafa9..ddc6e98463f 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2010-08-26 Pedro Alves + + * mem-break.c [HAVE_MALLOC_H]: Include malloc.h. + 2010-08-26 Pedro Alves * gdbreplay.c (remote_error): New. diff --git a/gdb/gdbserver/mem-break.c b/gdb/gdbserver/mem-break.c index 1b084154bb1..687414b8dd7 100644 --- a/gdb/gdbserver/mem-break.c +++ b/gdb/gdbserver/mem-break.c @@ -20,6 +20,9 @@ along with this program. If not, see . */ #include "server.h" +#if HAVE_MALLOC_H +#include +#endif const unsigned char *breakpoint_data; int breakpoint_len;