gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r31173 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r31173 - gnunet/src/util
Date: Sun, 8 Dec 2013 18:50:16 +0100

Author: grothoff
Date: 2013-12-08 18:50:15 +0100 (Sun, 08 Dec 2013)
New Revision: 31173

Modified:
   gnunet/src/util/common_allocation.c
Log:
-freebsd wants malloc_np for malloc_usable_size

Modified: gnunet/src/util/common_allocation.c
===================================================================
--- gnunet/src/util/common_allocation.c 2013-12-08 17:05:53 UTC (rev 31172)
+++ gnunet/src/util/common_allocation.c 2013-12-08 17:50:15 UTC (rev 31173)
@@ -197,6 +197,9 @@
 #if WINDOWS
 #define M_SIZE(p) _msize (p)
 #endif
+#ifdef FREEBSD
+#include <malloc_np.h>
+#endif
 #if HAVE_MALLOC_USABLE_SIZE
 #define M_SIZE(p) malloc_usable_size (p)
 #elif HAVE_MALLOC_SIZE




reply via email to

[Prev in Thread] Current Thread [Next in Thread]