summaryrefslogtreecommitdiff
path: root/net/xferstats/files/patch-xferstats.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/xferstats/files/patch-xferstats.h')
-rw-r--r--net/xferstats/files/patch-xferstats.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/net/xferstats/files/patch-xferstats.h b/net/xferstats/files/patch-xferstats.h
new file mode 100644
index 000000000000..5d8c8c41f9c8
--- /dev/null
+++ b/net/xferstats/files/patch-xferstats.h
@@ -0,0 +1,10 @@
+--- xferstats.x Thu Jan 11 19:35:18 2001
++++ xferstats.h Thu Jan 11 19:35:52 2001
+@@ -39,6 +39,7 @@
+
+ /* glibc's malloc is so damn efficient, chunks actually slow it down. so only
+ * use g_mem_chunks on non-glibc systems */
++#define __GLIBC__
+ #ifdef __GLIBC__
+ # define G_MEM_CHUNK_ALLOC(bar) g_malloc(bar)
+ # define G_MEM_CHUNK_ALLOC0(bar) g_malloc0(bar)