/soc/2015/igor.gajowiak/chatlog: 9c279721b858: Fix the include o...

Igor Gajowiak igor.gajowiak at gmail.com
Thu Jul 16 15:27:40 EDT 2015


Changeset: 9c279721b858252e5940e8aa5eb15c23d5a14d41
Author:	 Igor Gajowiak <igor.gajowiak at gmail.com>
Date:	 2015-07-16 21:27 +0200
Branch:	 default
URL: https://hg.pidgin.im/soc/2015/igor.gajowiak/chatlog/rev/9c279721b858

Description:

Fix the include order issue.

diffstat:

 libpurple/plugins/log/logsqlite.c |  3 ---
 libpurple/purple.h.in             |  1 +
 2 files changed, 1 insertions(+), 3 deletions(-)

diffs (26 lines):

diff --git a/libpurple/plugins/log/logsqlite.c b/libpurple/plugins/log/logsqlite.c
--- a/libpurple/plugins/log/logsqlite.c
+++ b/libpurple/plugins/log/logsqlite.c
@@ -22,11 +22,8 @@
 #include <stdlib.h>
 #include <sqlite3.h>
 
-// TODO: Why changing the order of these includes causes a crash?!
 #include "purple.h"
 #include "utils.h"
-#include "genericlog.h"
-#include "debug.h"
 #include "version.h"
 
 #define DB_ID_NONE -1
diff --git a/libpurple/purple.h.in b/libpurple/purple.h.in
--- a/libpurple/purple.h.in
+++ b/libpurple/purple.h.in
@@ -66,6 +66,7 @@
 #include <dnssrv.h>
 #include <enums.h>
 #include <eventloop.h>
+#include <genericlog.h>
 #include <idle.h>
 #include <log.h>
 #include <media.h>



More information about the Commits mailing list