aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.h
diff options
context:
space:
mode:
Diffstat (limited to 'bitlbee.h')
-rw-r--r--bitlbee.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/bitlbee.h b/bitlbee.h
index 23ec64b1..55687e3b 100644
--- a/bitlbee.h
+++ b/bitlbee.h
@@ -98,6 +98,12 @@
#define F_OK 0
#endif
+#ifndef G_GNUC_MALLOC
+/* Doesn't exist in GLib <=2.4 while everything else in BitlBee should
+ work with it, so let's fake this one. */
+#define G_GNUC_MALLOC
+#endif
+
#define _( x ) x
#define ROOT_NICK "root"