77 lines
1.6 KiB
Diff
77 lines
1.6 KiB
Diff
--- a/src/util/gnunet-service-resolver.c
|
|
+++ b/src/util/gnunet-service-resolver.c
|
|
@@ -603,7 +603,7 @@ main (int argc, char *const *argv)
|
|
return ret;
|
|
}
|
|
|
|
-#ifdef LINUX
|
|
+#if defined(LINUX) && defined(__GLIBC__)
|
|
#include <malloc.h>
|
|
|
|
/**
|
|
--- a/src/arm/gnunet-service-arm.c
|
|
+++ b/src/arm/gnunet-service-arm.c
|
|
@@ -1563,7 +1563,7 @@ main (int argc, char *const *argv)
|
|
}
|
|
|
|
|
|
-#ifdef LINUX
|
|
+#if defined(LINUX) && defined(__GLIBC__)
|
|
#include <malloc.h>
|
|
|
|
/**
|
|
--- a/src/nse/gnunet-service-nse.c
|
|
+++ b/src/nse/gnunet-service-nse.c
|
|
@@ -1629,7 +1629,7 @@ main (int argc,
|
|
}
|
|
|
|
|
|
-#ifdef LINUX
|
|
+#if defined(LINUX) && defined(__GLIBC__)
|
|
#include <malloc.h>
|
|
|
|
/**
|
|
--- a/src/regex/gnunet-daemon-regexprofiler.c
|
|
+++ b/src/regex/gnunet-daemon-regexprofiler.c
|
|
@@ -382,7 +382,7 @@ main (int argc, char *const *argv)
|
|
}
|
|
|
|
|
|
-#ifdef LINUX
|
|
+#if defined(LINUX) && defined(__GLIBC__)
|
|
#include <malloc.h>
|
|
|
|
/**
|
|
--- a/src/revocation/gnunet-service-revocation.c
|
|
+++ b/src/revocation/gnunet-service-revocation.c
|
|
@@ -933,7 +933,7 @@ main (int argc,
|
|
}
|
|
|
|
|
|
-#ifdef LINUX
|
|
+#if defined(LINUX) && defined(__GLIBC__)
|
|
#include <malloc.h>
|
|
|
|
|
|
--- a/src/statistics/gnunet-service-statistics.c
|
|
+++ b/src/statistics/gnunet-service-statistics.c
|
|
@@ -1077,7 +1077,7 @@ main (int argc, char *const *argv)
|
|
&run, NULL)) ? 0 : 1;
|
|
}
|
|
|
|
-#ifdef LINUX
|
|
+#if defined(LINUX) && defined(__GLIBC__)
|
|
#include <malloc.h>
|
|
|
|
/**
|
|
--- a/src/topology/gnunet-daemon-topology.c
|
|
+++ b/src/topology/gnunet-daemon-topology.c
|
|
@@ -1327,7 +1327,7 @@ main (int argc, char *const *argv)
|
|
}
|
|
|
|
|
|
-#ifdef LINUX
|
|
+#if defined(LINUX) && defined(__GLIBC__)
|
|
#include <malloc.h>
|
|
|
|
/**
|