diff options
Diffstat (limited to 'gdb/gnu-regex.c')
-rw-r--r-- | gdb/gnu-regex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gnu-regex.c b/gdb/gnu-regex.c index 062fbc6..601e3b5 100644 --- a/gdb/gnu-regex.c +++ b/gdb/gnu-regex.c @@ -34,6 +34,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "defs.h" #include "gdb_string.h" +#undef malloc +#define malloc xmalloc /* * Define the syntax stuff, so we can do the \<...\> things. |