diff options
author | TingPing <tingping@tingping.se> | 2014-12-15 22:57:27 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-12-17 18:21:10 -0500 |
commit | aeb5d15871cca7fe5eba806431b4e63fee015a94 (patch) | |
tree | 767d8f2892834e930f81b0ebb9bb2de44fd61bca /src/common | |
parent | 76c2cfebc35a007cbbd3ae3ab66b64799fd62f8e (diff) |
More consistently include config.h
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/dbus/dbus-client.c | 2 | ||||
-rw-r--r-- | src/common/dcc.c | 2 | ||||
-rw-r--r-- | src/common/hexchat.h | 1 | ||||
-rw-r--r-- | src/common/inbound.c | 2 | ||||
-rw-r--r-- | src/common/inet.h | 2 | ||||
-rw-r--r-- | src/common/network.c | 3 | ||||
-rw-r--r-- | src/common/plugin-timer.c | 2 | ||||
-rw-r--r-- | src/common/ssl.c | 2 | ||||
-rw-r--r-- | src/common/util.c | 2 |
9 files changed, 10 insertions, 8 deletions
diff --git a/src/common/dbus/dbus-client.c b/src/common/dbus/dbus-client.c index e507883d..dd2d5ebe 100644 --- a/src/common/dbus/dbus-client.c +++ b/src/common/dbus/dbus-client.c @@ -19,6 +19,8 @@ * xclaesse@gmail.com */ +#include "config.h" + #define GLIB_DISABLE_DEPRECATION_WARNINGS #include <dbus/dbus-glib.h> #include "dbus-client.h" diff --git a/src/common/dcc.c b/src/common/dcc.c index a918aaca..2f246249 100644 --- a/src/common/dcc.c +++ b/src/common/dcc.c @@ -46,8 +46,6 @@ #include <unistd.h> #endif -#include <gio/gio.h> - #include "hexchat.h" #include "util.h" #include "fe.h" diff --git a/src/common/hexchat.h b/src/common/hexchat.h index 27df0b6f..ef05b4f4 100644 --- a/src/common/hexchat.h +++ b/src/common/hexchat.h @@ -22,6 +22,7 @@ #include <glib.h> #include <glib/gstdio.h> #include <glib/gi18n.h> +#include <gio/gio.h> #include <time.h> /* need time_t */ diff --git a/src/common/inbound.c b/src/common/inbound.c index f7232ce4..dbb29b57 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -33,8 +33,6 @@ #define WANTDNS #include "inet.h" -#include <gio/gio.h> - #include "hexchat.h" #include "util.h" #include "ignore.h" diff --git a/src/common/inet.h b/src/common/inet.h index 990415be..aa57d0e4 100644 --- a/src/common/inet.h +++ b/src/common/inet.h @@ -47,7 +47,7 @@ #else -#include "../../config.h" +#include "config.h" #ifdef USE_IPV6 #include <winsock2.h> #include <ws2tcpip.h> diff --git a/src/common/network.c b/src/common/network.c index 8790f673..d726bd24 100644 --- a/src/common/network.c +++ b/src/common/network.c @@ -18,6 +18,8 @@ /* ipv4 and ipv6 networking functions with a common interface */ +#include "config.h" + #include <stdlib.h> #include <string.h> #include <stdio.h> @@ -26,7 +28,6 @@ #ifndef WIN32 #include <unistd.h> #endif -#include "../../config.h" #define WANTSOCKET #define WANTARPA diff --git a/src/common/plugin-timer.c b/src/common/plugin-timer.c index 511e0dd6..4f2030e3 100644 --- a/src/common/plugin-timer.c +++ b/src/common/plugin-timer.c @@ -17,6 +17,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ +#include "config.h" + #include <stdlib.h> #include <string.h> #include <glib.h> diff --git a/src/common/ssl.c b/src/common/ssl.c index 21b30da3..26fbc1ba 100644 --- a/src/common/ssl.c +++ b/src/common/ssl.c @@ -29,7 +29,7 @@ #ifdef WIN32 #include <openssl/rand.h> /* RAND_seed() */ #endif -#include "../../config.h" +#include "config.h" #include <time.h> /* asctime() */ #include <string.h> /* strncpy() */ #include "ssl.h" /* struct cert_info */ diff --git a/src/common/util.c b/src/common/util.c index ffaa61a2..7eb6746f 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -40,7 +40,7 @@ #include <sys/utsname.h> #endif -#include "../../config.h" +#include "config.h" #include <fcntl.h> #include <errno.h> #include "hexchat.h" |