aboutsummaryrefslogtreecommitdiff
path: root/src
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
parent40482e0644d61ffeb7779baec68bbd3a9cfba7f4 (diff)
downloadgnunet-f7f68f4f3fec39f1e2c159d67a31b29ba503c774.tar.gz
gnunet-f7f68f4f3fec39f1e2c159d67a31b29ba503c774.zip
check for __GLIBC__ before mallopting
Diffstat (limited to 'src')
-rw-r--r--src/arm/gnunet-service-arm.c2
-rw-r--r--src/nse/gnunet-service-nse.c2
-rw-r--r--src/regex/gnunet-daemon-regexprofiler.c2
-rw-r--r--src/revocation/gnunet-service-revocation.c2
-rw-r--r--src/statistics/gnunet-service-statistics.c2
-rw-r--r--src/topology/gnunet-daemon-topology.c2
-rw-r--r--src/util/gnunet-service-resolver.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/src/arm/gnunet-service-arm.c b/src/arm/gnunet-service-arm.c
index 2124749ca..d60000202 100644
--- a/src/arm/gnunet-service-arm.c
+++ b/src/arm/gnunet-service-arm.c
@@ -1563,7 +1563,7 @@ main (int argc, char *const *argv)
1563} 1563}
1564 1564
1565 1565
1566#ifdef LINUX 1566#if defined(LINUX) && defined(__GLIBC__)
1567#include <malloc.h> 1567#include <malloc.h>
1568 1568
1569/** 1569/**
diff --git a/src/nse/gnunet-service-nse.c b/src/nse/gnunet-service-nse.c
index 31d05690a..513eeb53e 100644
--- a/src/nse/gnunet-service-nse.c
+++ b/src/nse/gnunet-service-nse.c
@@ -1629,7 +1629,7 @@ main (int argc,
1629} 1629}
1630 1630
1631 1631
1632#ifdef LINUX 1632#if defined(LINUX) && defined(__GLIBC__)
1633#include <malloc.h> 1633#include <malloc.h>
1634 1634
1635/** 1635/**
diff --git a/src/regex/gnunet-daemon-regexprofiler.c b/src/regex/gnunet-daemon-regexprofiler.c
index 449f692c1..5aa18726d 100644
--- a/src/regex/gnunet-daemon-regexprofiler.c
+++ b/src/regex/gnunet-daemon-regexprofiler.c
@@ -382,7 +382,7 @@ main (int argc, char *const *argv)
382} 382}
383 383
384 384
385#ifdef LINUX 385#if defined(LINUX) && defined(__GLIBC__)
386#include <malloc.h> 386#include <malloc.h>
387 387
388/** 388/**
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c
index 8a5293636..333284b48 100644
--- a/src/revocation/gnunet-service-revocation.c
+++ b/src/revocation/gnunet-service-revocation.c
@@ -933,7 +933,7 @@ main (int argc,
933} 933}
934 934
935 935
936#ifdef LINUX 936#if defined(LINUX) && defined(__GLIBC__)
937#include <malloc.h> 937#include <malloc.h>
938 938
939 939
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/**
diff --git a/src/topology/gnunet-daemon-topology.c b/src/topology/gnunet-daemon-topology.c
index 25c30624e..347d20379 100644
--- a/src/topology/gnunet-daemon-topology.c
+++ b/src/topology/gnunet-daemon-topology.c
@@ -1327,7 +1327,7 @@ main (int argc, char *const *argv)
1327} 1327}
1328 1328
1329 1329
1330#ifdef LINUX 1330#if defined(LINUX) && defined(__GLIBC__)
1331#include <malloc.h> 1331#include <malloc.h>
1332 1332
1333/** 1333/**
diff --git a/src/util/gnunet-service-resolver.c b/src/util/gnunet-service-resolver.c
index 067dfefc9..ec56292a8 100644
--- a/src/util/gnunet-service-resolver.c
+++ b/src/util/gnunet-service-resolver.c
@@ -630,7 +630,7 @@ main (int argc, char *const *argv)
630 return ret; 630 return ret;
631} 631}
632 632
633#ifdef LINUX 633#if defined(LINUX) && defined(__GLIBC__)
634#include <malloc.h> 634#include <malloc.h>
635 635
636/** 636/**