aboutsummaryrefslogtreecommitdiff
path: root/src/statistics/statistics_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/statistics/statistics_api.c')
-rw-r--r--src/statistics/statistics_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/statistics/statistics_api.c b/src/statistics/statistics_api.c
index d6c2680b8..6e6acb3e5 100644
--- a/src/statistics/statistics_api.c
+++ b/src/statistics/statistics_api.c
@@ -270,11 +270,11 @@ update_memory_statistics (struct GNUNET_STATISTICS_Handle *h)
270 270
271 if (GNUNET_NO != h->do_destroy) 271 if (GNUNET_NO != h->do_destroy)
272 return; 272 return;
273#if HAVE_MALLINFO 273#if HAVE_MALLINFO2
274 { 274 {
275 struct mallinfo mi; 275 struct mallinfo2 mi;
276 276
277 mi = mallinfo (); 277 mi = mallinfo2 ();
278 current_heap_size = mi.uordblks + mi.fordblks; 278 current_heap_size = mi.uordblks + mi.fordblks;
279 } 279 }
280#endif 280#endif