diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-04-03 16:38:27 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2012-04-04 11:02:58 +0200 |
commit | 7aba06d98bb844e6af037ee8a8b72bb686725512 (patch) | |
tree | 3c24303a80029ef1bef2a874db4e2bb6998b1104 | |
parent | 493011ede54f4ff96410118153b76cf8cd8a1001 (diff) |
config.h has to be the first header included in C files
-rw-r--r-- | src/idle-connection-manager.c | 2 | ||||
-rw-r--r-- | src/idle-connection.c | 4 | ||||
-rw-r--r-- | src/idle-parser.c | 2 | ||||
-rw-r--r-- | src/protocol.c | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/src/idle-connection-manager.c b/src/idle-connection-manager.c index b968e27..7413c72 100644 --- a/src/idle-connection-manager.c +++ b/src/idle-connection-manager.c @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" + #include "idle-connection-manager.h" #include <dbus/dbus-protocol.h> diff --git a/src/idle-connection.c b/src/idle-connection.c index ef945cf..d60beef 100644 --- a/src/idle-connection.c +++ b/src/idle-connection.c @@ -19,9 +19,9 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "idle-connection.h" +#include "config.h" -#include <config.h> +#include "idle-connection.h" #include <string.h> #include <time.h> diff --git a/src/idle-parser.c b/src/idle-parser.c index 2591eeb..2d675cc 100644 --- a/src/idle-parser.c +++ b/src/idle-parser.c @@ -21,8 +21,8 @@ /* For strnlen(), which is a GNU extension. */ #define _GNU_SOURCE -#include "idle-parser.h" #include "config.h" +#include "idle-parser.h" #include "idle-connection.h" #include "idle-muc-channel.h" diff --git a/src/protocol.c b/src/protocol.c index 368c199..49cf468 100644 --- a/src/protocol.c +++ b/src/protocol.c @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "config.h" + #include "protocol.h" #include <dbus/dbus-glib.h> |