summaryrefslogtreecommitdiff
path: root/mysys/my_realloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_realloc.c')
-rw-r--r--mysys/my_realloc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysys/my_realloc.c b/mysys/my_realloc.c
index 828890a0dc2..7e49a482884 100644
--- a/mysys/my_realloc.c
+++ b/mysys/my_realloc.c
@@ -13,6 +13,9 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+/* my_global.h may define SAFEMALLOC (through my_config.h). */
+#include <my_global.h>
+
#ifdef SAFEMALLOC /* We don't need SAFEMALLOC here */
#undef SAFEMALLOC
#endif