aboutsummaryrefslogtreecommitdiff
path: root/gdb/memory-map.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/memory-map.c')
-rw-r--r--gdb/memory-map.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/memory-map.c b/gdb/memory-map.c
index 01171c1..e3f8a80 100644
--- a/gdb/memory-map.c
+++ b/gdb/memory-map.c
@@ -49,6 +49,11 @@ parse_memory_map (const char *memory_map)
#include "xml-support.h"
#include <expat.h>
+#ifndef XML_STATUS_OK
+# define XML_STATUS_OK 1
+# define XML_STATUS_ERROR 0
+#endif
+
/* Internal parsing data passed to all Expat callbacks. */
struct memory_map_parsing_data
{