aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/mem-break.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/mem-break.c')
-rw-r--r--gdb/gdbserver/mem-break.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/gdbserver/mem-break.c b/gdb/gdbserver/mem-break.c
index 1b08415..687414b 100644
--- a/gdb/gdbserver/mem-break.c
+++ b/gdb/gdbserver/mem-break.c
@@ -20,6 +20,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#include "server.h"
+#if HAVE_MALLOC_H
+#include <malloc.h>
+#endif
const unsigned char *breakpoint_data;
int breakpoint_len;