diff options
author | Patrick Griffis <tingping@tingping.se> | 2015-12-26 21:00:14 -0500 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2016-01-19 19:35:10 -0500 |
commit | e399c4189962cdeace1210b2de0999c519411fcc (patch) | |
tree | c46d21d958b4f62eec4cf84930b8f7ead27ed05f /src | |
parent | 8a9894874ecbec59c8b34db7ee3ded3f3375b703 (diff) |
Consistently include config.h
This still needs some work in a few headers
that depend on it
Diffstat (limited to 'src')
62 files changed, 219 insertions, 18 deletions
diff --git a/src/bencode.c b/src/bencode.c index 89f35ed..476baeb 100644 --- a/src/bencode.c +++ b/src/bencode.c @@ -24,6 +24,10 @@ * into the public domain as well). */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> /* malloc() realloc() free() strtoll() */ #include <string.h> /* memset() */ #include <ctype.h> @@ -10,6 +10,10 @@ * $Id: hig.c 13677 2012-12-16 22:51:29Z jordan $ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <gtk/gtk.h> #include "hig.h" diff --git a/src/icons.c b/src/icons.c index bb8e33d..8275961 100644 --- a/src/icons.c +++ b/src/icons.c @@ -6,6 +6,10 @@ * $Id: icons.c 12639 2011-08-07 18:41:13Z jordan $ */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <string.h> /* strcmp */ #include <glib.h> #include <gtk/gtk.h> @@ -17,12 +17,15 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib-object.h> #include <glib/gprintf.h> #include <json-glib/json-glib.h> #include <gtk/gtk.h> -#include "config.h" #include "protocol-constants.h" #include "requests.h" #include "json.h" diff --git a/src/remote-exec.c b/src/remote-exec.c index 00e47fa..774c266 100644 --- a/src/remote-exec.c +++ b/src/remote-exec.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib.h> #include <gtk/gtk.h> #include <json-glib/json-glib.h> diff --git a/src/requests.c b/src/requests.c index 43a8561..2234302 100644 --- a/src/requests.c +++ b/src/requests.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <glib/gstdio.h> diff --git a/src/session-get.c b/src/session-get.c index 98c466c..4706c72 100644 --- a/src/session-get.c +++ b/src/session-get.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdio.h> #include <json-glib/json-glib.h> diff --git a/src/torrent-cell-renderer.c b/src/torrent-cell-renderer.c index 632d418..1157537 100644 --- a/src/torrent-cell-renderer.c +++ b/src/torrent-cell-renderer.c @@ -13,6 +13,10 @@ /* This cell renderer has been modified heavily to work with the * TrgTorrentModel instead of libtransmission. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <gtk/gtk.h> #include <gdk/gdk.h> #include <glib/gi18n.h> diff --git a/src/torrent.c b/src/torrent.c index 4a73e9e..fc4eaa8 100644 --- a/src/torrent.c +++ b/src/torrent.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib-object.h> #include <glib/gi18n.h> #include <gtk/gtk.h> diff --git a/src/trg-cell-renderer-counter.c b/src/trg-cell-renderer-counter.c index 9a4049c..eb64a1d 100644 --- a/src/trg-cell-renderer-counter.c +++ b/src/trg-cell-renderer-counter.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdint.h> #include <gtk/gtk.h> diff --git a/src/trg-cell-renderer-epoch.c b/src/trg-cell-renderer-epoch.c index 8e38949..6036e0e 100644 --- a/src/trg-cell-renderer-epoch.c +++ b/src/trg-cell-renderer-epoch.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdint.h> #include <time.h> #include <gtk/gtk.h> diff --git a/src/trg-cell-renderer-eta.c b/src/trg-cell-renderer-eta.c index 90e8886..455fcd9 100644 --- a/src/trg-cell-renderer-eta.c +++ b/src/trg-cell-renderer-eta.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdint.h> #include <gtk/gtk.h> diff --git a/src/trg-cell-renderer-file-icon.c b/src/trg-cell-renderer-file-icon.c index e116d90..5642ace 100644 --- a/src/trg-cell-renderer-file-icon.c +++ b/src/trg-cell-renderer-file-icon.c @@ -17,13 +17,13 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include <stdint.h> -#include <gtk/gtk.h> - #ifdef HAVE_CONFIG_H #include "config.h" #endif +#include <stdint.h> +#include <gtk/gtk.h> + #include "trg-cell-renderer-file-icon.h" #include "util.h" diff --git a/src/trg-cell-renderer-numgteqthan.c b/src/trg-cell-renderer-numgteqthan.c index 3be1cd6..6b648ad 100644 --- a/src/trg-cell-renderer-numgteqthan.c +++ b/src/trg-cell-renderer-numgteqthan.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdint.h> #include <gtk/gtk.h> diff --git a/src/trg-cell-renderer-priority.c b/src/trg-cell-renderer-priority.c index d52129a..28c503a 100644 --- a/src/trg-cell-renderer-priority.c +++ b/src/trg-cell-renderer-priority.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdint.h> #include <glib/gi18n.h> #include <gtk/gtk.h> diff --git a/src/trg-cell-renderer-ratio.c b/src/trg-cell-renderer-ratio.c index ed0a453..3404282 100644 --- a/src/trg-cell-renderer-ratio.c +++ b/src/trg-cell-renderer-ratio.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <limits.h> #include <gtk/gtk.h> diff --git a/src/trg-cell-renderer-size.c b/src/trg-cell-renderer-size.c index ebe6b25..23edb55 100644 --- a/src/trg-cell-renderer-size.c +++ b/src/trg-cell-renderer-size.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdint.h> #include <gtk/gtk.h> diff --git a/src/trg-cell-renderer-speed.c b/src/trg-cell-renderer-speed.c index a527b59..7487e01 100644 --- a/src/trg-cell-renderer-speed.c +++ b/src/trg-cell-renderer-speed.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdint.h> #include <gtk/gtk.h> diff --git a/src/trg-cell-renderer-wanted.c b/src/trg-cell-renderer-wanted.c index c23aae1..8fbe031 100644 --- a/src/trg-cell-renderer-wanted.c +++ b/src/trg-cell-renderer-wanted.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdint.h> #include <glib/gi18n.h> #include <gtk/gtk.h> diff --git a/src/trg-client.c b/src/trg-client.c index 5f6b6f9..6b47d7a 100644 --- a/src/trg-client.c +++ b/src/trg-client.c @@ -17,7 +17,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include <stdlib.h> #include <string.h> diff --git a/src/trg-client.h b/src/trg-client.h index 349666e..2c53628 100644 --- a/src/trg-client.h +++ b/src/trg-client.h @@ -22,10 +22,6 @@ #ifndef _TRG_CLIENT_H_ #define _TRG_CLIENT_H_ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <curl/curl.h> #include <curl/easy.h> diff --git a/src/trg-destination-combo.c b/src/trg-destination-combo.c index 2b5814e..0bbd983 100644 --- a/src/trg-destination-combo.c +++ b/src/trg-destination-combo.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib/gi18n.h> #include <gtk/gtk.h> diff --git a/src/trg-file-parser.c b/src/trg-file-parser.c index ff4ac62..2200ec6 100644 --- a/src/trg-file-parser.c +++ b/src/trg-file-parser.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <string.h> diff --git a/src/trg-files-model-common.c b/src/trg-files-model-common.c index b435069..9be7aec 100644 --- a/src/trg-files-model-common.c +++ b/src/trg-files-model-common.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <glib.h> diff --git a/src/trg-files-model.c b/src/trg-files-model.c index ac1fa20..418748e 100644 --- a/src/trg-files-model.c +++ b/src/trg-files-model.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <string.h> #include <limits.h> #include <gtk/gtk.h> diff --git a/src/trg-files-tree-view-common.c b/src/trg-files-tree-view-common.c index b581959..37dc821 100644 --- a/src/trg-files-tree-view-common.c +++ b/src/trg-files-tree-view-common.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <glib.h> diff --git a/src/trg-files-tree-view.c b/src/trg-files-tree-view.c index ae9e071..70147f7 100644 --- a/src/trg-files-tree-view.c +++ b/src/trg-files-tree-view.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib/gi18n.h> #include <gtk/gtk.h> diff --git a/src/trg-files-tree.c b/src/trg-files-tree.c index b3a3df9..1c93a8f 100644 --- a/src/trg-files-tree.c +++ b/src/trg-files-tree.c @@ -20,6 +20,11 @@ /* This is the stuff common between both files trees, built up before * populating the model. */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <string.h> diff --git a/src/trg-general-panel.c b/src/trg-general-panel.c index cec641a..de05b13 100644 --- a/src/trg-general-panel.c +++ b/src/trg-general-panel.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <string.h> #include <glib-object.h> #include <glib/gi18n.h> diff --git a/src/trg-gtk-app.c b/src/trg-gtk-app.c index 77f4d0c..0f44d99 100644 --- a/src/trg-gtk-app.c +++ b/src/trg-gtk-app.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <gtk/gtk.h> #include "trg-main-window.h" diff --git a/src/trg-icons.c b/src/trg-icons.c index ba36264..20fb577 100644 --- a/src/trg-icons.c +++ b/src/trg-icons.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <gtk/gtk.h> #include "trg-icons.h" diff --git a/src/trg-json-widgets.c b/src/trg-json-widgets.c index 0ba09f6..79299c6 100644 --- a/src/trg-json-widgets.c +++ b/src/trg-json-widgets.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <gtk/gtk.h> #include <json-glib/json-glib.h> diff --git a/src/trg-main-window.c b/src/trg-main-window.c index 65556ae..53c568e 100644 --- a/src/trg-main-window.c +++ b/src/trg-main-window.c @@ -17,7 +17,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include <stdlib.h> #include <string.h> diff --git a/src/trg-menu-bar.c b/src/trg-menu-bar.c index 3f724aa..b44da6b 100644 --- a/src/trg-menu-bar.c +++ b/src/trg-menu-bar.c @@ -17,7 +17,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include <glib/gi18n.h> #include <gtk/gtk.h> diff --git a/src/trg-model.c b/src/trg-model.c index 2e1ae28..c9ce968 100644 --- a/src/trg-model.c +++ b/src/trg-model.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib.h> #include <gtk/gtk.h> #include <json-glib/json-glib.h> diff --git a/src/trg-persistent-tree-view.c b/src/trg-persistent-tree-view.c index 846fb9a..6a0aa01 100644 --- a/src/trg-persistent-tree-view.c +++ b/src/trg-persistent-tree-view.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <gtk/gtk.h> #include "trg-prefs.h" diff --git a/src/trg-preferences-dialog.c b/src/trg-preferences-dialog.c index a58bd67..90c4123 100644 --- a/src/trg-preferences-dialog.c +++ b/src/trg-preferences-dialog.c @@ -17,7 +17,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #include <glib.h> #include <glib/gi18n.h> diff --git a/src/trg-prefs.c b/src/trg-prefs.c index 643e2a1..e168d07 100644 --- a/src/trg-prefs.c +++ b/src/trg-prefs.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib.h> #include <glib/gstdio.h> #include <json-glib/json-glib.h> diff --git a/src/trg-remote-prefs-dialog.c b/src/trg-remote-prefs-dialog.c index eadb0ac..857acb3 100644 --- a/src/trg-remote-prefs-dialog.c +++ b/src/trg-remote-prefs-dialog.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <math.h> #include <stdint.h> #include <glib/gi18n.h> diff --git a/src/trg-rss-cell-renderer.c b/src/trg-rss-cell-renderer.c index 540960e..3477d4a 100644 --- a/src/trg-rss-cell-renderer.c +++ b/src/trg-rss-cell-renderer.c @@ -1,4 +1,6 @@ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #ifdef HAVE_RSS diff --git a/src/trg-rss-cell-renderer.h b/src/trg-rss-cell-renderer.h index dbd3a6e..17c6c69 100644 --- a/src/trg-rss-cell-renderer.h +++ b/src/trg-rss-cell-renderer.h @@ -20,8 +20,6 @@ #ifndef TRG_RSS_CELL_RENDERER_H #define TRG_RSS_CELL_RENDERER_H -#include "config.h" - #ifdef HAVE_RSS #include <gtk/gtk.h> diff --git a/src/trg-rss-model.c b/src/trg-rss-model.c index 488cb57..aa15829 100644 --- a/src/trg-rss-model.c +++ b/src/trg-rss-model.c @@ -17,7 +17,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #ifdef HAVE_RSS diff --git a/src/trg-rss-model.h b/src/trg-rss-model.h index 21b5a70..a97ab3c 100644 --- a/src/trg-rss-model.h +++ b/src/trg-rss-model.h @@ -20,8 +20,6 @@ #ifndef TRG_RSS_MODEL_H_ #define TRG_RSS_MODEL_H_ -#include "config.h" - #ifdef HAVE_RSS #include <glib-object.h> diff --git a/src/trg-rss-window.c b/src/trg-rss-window.c index d2a7722..dbe2f5a 100644 --- a/src/trg-rss-window.c +++ b/src/trg-rss-window.c @@ -17,7 +17,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H #include "config.h" +#endif #ifdef HAVE_RSS diff --git a/src/trg-rss-window.h b/src/trg-rss-window.h index ebf4ca6..714451e 100644 --- a/src/trg-rss-window.h +++ b/src/trg-rss-window.h @@ -20,8 +20,6 @@ #ifndef TRG_RSS_WINDOW_H_ #define TRG_RSS_WINDOW_H_ -#include "config.h" - #ifdef HAVE_RSS #include <glib-object.h> diff --git a/src/trg-sortable-filtered-model.c b/src/trg-sortable-filtered-model.c index 9db1827..3acc443 100644 --- a/src/trg-sortable-filtered-model.c +++ b/src/trg-sortable-filtered-model.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <gtk/gtk.h> #include "trg-sortable-filtered-model.h" diff --git a/src/trg-state-selector.c b/src/trg-state-selector.c index 919078c..cbfc244 100644 --- a/src/trg-state-selector.c +++ b/src/trg-state-selector.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib-object.h> #include <json-glib/json-glib.h> #include <glib/gi18n.h> diff --git a/src/trg-stats-dialog.c b/src/trg-stats-dialog.c index 3ae0336..920b36c 100644 --- a/src/trg-stats-dialog.c +++ b/src/trg-stats-dialog.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib/gi18n.h> #include <gtk/gtk.h> #include <json-glib/json-glib.h> diff --git a/src/trg-status-bar.c b/src/trg-status-bar.c index ff5afe2..862e3f9 100644 --- a/src/trg-status-bar.c +++ b/src/trg-status-bar.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib/gi18n.h> #include <glib/gprintf.h> #include <gtk/gtk.h> diff --git a/src/trg-toolbar.c b/src/trg-toolbar.c index 9764a2e..4368eb2 100644 --- a/src/trg-toolbar.c +++ b/src/trg-toolbar.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib/gi18n.h> #include <gtk/gtk.h> diff --git a/src/trg-torrent-add-dialog.c b/src/trg-torrent-add-dialog.c index 37e4da0..31ddd85 100644 --- a/src/trg-torrent-add-dialog.c +++ b/src/trg-torrent-add-dialog.c @@ -22,6 +22,10 @@ * and JSON dispatch. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib/gi18n.h> #include <gtk/gtk.h> #include <json-glib/json-glib.h> diff --git a/src/trg-torrent-add-url-dialog.c b/src/trg-torrent-add-url-dialog.c index 8ed15d8..2562008 100644 --- a/src/trg-torrent-add-url-dialog.c +++ b/src/trg-torrent-add-url-dialog.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib/gi18n.h> #include <gtk/gtk.h> #include <json-glib/json-glib.h> diff --git a/src/trg-torrent-graph.c b/src/trg-torrent-graph.c index 40d3b4a..8c768f6 100644 --- a/src/trg-torrent-graph.c +++ b/src/trg-torrent-graph.c @@ -27,6 +27,11 @@ * on this widget but with some improvements I didn't do. */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "trg-torrent-graph.h" #if TRG_WITH_GRAPH diff --git a/src/trg-torrent-model.c b/src/trg-torrent-model.c index 232ea25..8e916f4 100644 --- a/src/trg-torrent-model.c +++ b/src/trg-torrent-model.c @@ -17,15 +17,15 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <string.h> #include <gtk/gtk.h> #include <json-glib/json-glib.h> #include <glib/gi18n.h> -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include "torrent.h" #include "json.h" #include "trg-torrent-model.h" diff --git a/src/trg-torrent-move-dialog.c b/src/trg-torrent-move-dialog.c index 99a11fb..555ea09 100644 --- a/src/trg-torrent-move-dialog.c +++ b/src/trg-torrent-move-dialog.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <string.h> #include <glib/gi18n.h> #include <gtk/gtk.h> diff --git a/src/trg-torrent-props-dialog.c b/src/trg-torrent-props-dialog.c index 71a9c71..322db0e 100644 --- a/src/trg-torrent-props-dialog.c +++ b/src/trg-torrent-props-dialog.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib/gi18n.h> #include <gtk/gtk.h> #include <json-glib/json-glib.h> diff --git a/src/trg-torrent-tree-view.c b/src/trg-torrent-tree-view.c index 3eb4772..bba78c2 100644 --- a/src/trg-torrent-tree-view.c +++ b/src/trg-torrent-tree-view.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib/gi18n.h> #include <gtk/gtk.h> diff --git a/src/trg-trackers-model.c b/src/trg-trackers-model.c index da669b1..2e7fb9b 100644 --- a/src/trg-trackers-model.c +++ b/src/trg-trackers-model.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <gtk/gtk.h> #include <json-glib/json-glib.h> diff --git a/src/trg-trackers-tree-view.c b/src/trg-trackers-tree-view.c index 54948f3..58a732c 100644 --- a/src/trg-trackers-tree-view.c +++ b/src/trg-trackers-tree-view.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <glib.h> #include <glib/gi18n.h> #include <gtk/gtk.h> diff --git a/src/trg-tree-view.c b/src/trg-tree-view.c index cc8da55..bea3cbf 100644 --- a/src/trg-tree-view.c +++ b/src/trg-tree-view.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <stdlib.h> #include <gtk/gtk.h> #include <json-glib/json-glib.h> diff --git a/src/upload.c b/src/upload.c index 2f16c51..1f2f8c0 100644 --- a/src/upload.c +++ b/src/upload.c @@ -1,3 +1,7 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "protocol-constants.h" #include "requests.h" #include "trg-client.h" diff --git a/src/win32-mailslot.c b/src/win32-mailslot.c index 0ca52a9..4fb5af2 100644 --- a/src/win32-mailslot.c +++ b/src/win32-mailslot.c @@ -17,6 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #if WIN32 #define TRG_MAILSLOT_NAME "\\\\.\\mailslot\\TransmissionRemoteGTK" |