diff options
Diffstat (limited to 'src/xrdb.c')
| -rw-r--r-- | src/xrdb.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xrdb.c b/src/xrdb.c index 822fb6e2624..0a138687d7b 100644 --- a/src/xrdb.c +++ b/src/xrdb.c | |||
| @@ -88,6 +88,10 @@ extern char *get_system_name (); | |||
| 88 | /* Make sure not to #include anything after these definitions. Let's | 88 | /* Make sure not to #include anything after these definitions. Let's |
| 89 | not step on anyone's prototypes. */ | 89 | not step on anyone's prototypes. */ |
| 90 | #ifdef emacs | 90 | #ifdef emacs |
| 91 | /* darwin.h may have already defined these. */ | ||
| 92 | #undef malloc | ||
| 93 | #undef realloc | ||
| 94 | #undef free | ||
| 91 | #define malloc xmalloc | 95 | #define malloc xmalloc |
| 92 | #define realloc xrealloc | 96 | #define realloc xrealloc |
| 93 | #define free xfree | 97 | #define free xfree |