summaryrefslogtreecommitdiffstats
path: root/src/dnmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dnmalloc.c')
-rw-r--r--src/dnmalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dnmalloc.c b/src/dnmalloc.c
index 4ab3b9a..3a85797 100644
--- a/src/dnmalloc.c
+++ b/src/dnmalloc.c
@@ -216,6 +216,7 @@
kernel versions newer than 1.3.77.
*/
+#define _GNU_SOURCE 1
#ifndef HAVE_MREMAP
#ifdef linux
#define HAVE_MREMAP 1