aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/gnunet-service-statistics.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-16 13:25:06 +0000
committerChristian Grothoff <christian@grothoff.org>2015-06-16 13:25:06 +0000
commitf7f68f4f3fec39f1e2c159d67a31b29ba503c774 (patch)
tree2719767e08663725e1a679eb8e97590c0bde2938 /src/statistics/gnunet-service-statistics.c
parent40482e0644d61ffeb7779baec68bbd3a9cfba7f4 (diff)
downloadgnunet-f7f68f4f3fec39f1e2c159d67a31b29ba503c774.tar.gz
gnunet-f7f68f4f3fec39f1e2c159d67a31b29ba503c774.zip
check for __GLIBC__ before mallopting
Diffstat (limited to 'src/statistics/gnunet-service-statistics.c')
-rw-r--r--src/statistics/gnunet-service-statistics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statistics/gnunet-service-statistics.c b/src/statistics/gnunet-service-statistics.c
index 088ba1e49..840323b95 100644
--- a/src/statistics/gnunet-service-statistics.c
+++ b/src/statistics/gnunet-service-statistics.c
@@ -1077,7 +1077,7 @@ main (int argc, char *const *argv)
1077 &run, NULL)) ? 0 : 1; 1077 &run, NULL)) ? 0 : 1;
1078} 1078}
1079 1079
1080#ifdef LINUX 1080#if defined(LINUX) && defined(__GLIBC__)
1081#include <malloc.h> 1081#include <malloc.h>
1082 1082
1083/** 1083/**