Merge branch 'rj/sparse'
[gitweb.git] / compat / nedmalloc / malloc.c.h
index fdcca82ba7d19f0072938e524d254d91d2b560b3..5a44dead9dd51cbf194d14f7f367844f780298d0 100644 (file)
@@ -484,6 +484,10 @@ MAX_RELEASE_CHECK_RATE   default: 4095 unless not HAVE_MMAP
 #define DLMALLOC_VERSION 20804
 #endif /* DLMALLOC_VERSION */
 
+#if defined(linux)
+#define _GNU_SOURCE 1
+#endif
+
 #ifndef WIN32
 #ifdef _WIN32
 #define WIN32 1