aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.h
diff options
context:
space:
mode:
authorSven Moritz Hallberg <sm@khjk.org>2008-02-16 18:15:31 +0100
committerSven Moritz Hallberg <sm@khjk.org>2008-02-16 18:15:31 +0100
commit4eb4c0f4beeb87e07bd6b10daed8fe8e48fb4206 (patch)
treea54ec7b6b4622aa35ef7bd1efc58ab8ec45749ae /bitlbee.h
parent896195002cc903ec4b1ef7e1468f73c1dc08df9e (diff)
parentca605509d0b49e6012d10ae5d1553ced007e6ce7 (diff)
merge in upstream changes
Diffstat (limited to 'bitlbee.h')
-rw-r--r--bitlbee.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/bitlbee.h b/bitlbee.h
index b60d4b90..7f5da5f2 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"
@@ -115,8 +121,6 @@
#define HELP_FILE VARDIR "help.txt"
#define CONF_FILE_DEF ETCDIR "bitlbee.conf"
-extern char *CONF_FILE;
-
#include "irc.h"
#include "storage.h"
#include "set.h"
@@ -139,6 +143,7 @@ typedef struct global {
int listen_socket;
gint listen_watch_source_id;
help_t *help;
+ char *conf_file;
conf_t *conf;
GList *storage; /* The first backend in the list will be used for saving */
char *helpfile;