check for __GLIBC__ before mallopting
[oweals/gnunet.git] / src / statistics / gnunet-service-statistics.c
index 088ba1e49cb95828b6f4c1488f0de382eb3a8662..840323b95d1042dc2a623da5bb36294673997ef1 100644 (file)
@@ -1077,7 +1077,7 @@ main (int argc, char *const *argv)
                               &run, NULL)) ? 0 : 1;
 }
 
-#ifdef LINUX
+#if defined(LINUX) && defined(__GLIBC__)
 #include <malloc.h>
 
 /**