1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Added missing config.h includes

This commit is contained in:
James Booth 2015-10-31 23:38:08 +00:00
parent 8a7e2c19f9
commit 17488ca346
7 changed files with 21 additions and 6 deletions

View File

@ -32,6 +32,8 @@
* *
*/ */
#include "config.h"
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <limits.h> #include <limits.h>
@ -41,8 +43,6 @@
#include <glib.h> #include <glib.h>
#include "config.h"
#include "chat_session.h" #include "chat_session.h"
#include "command/command.h" #include "command/command.h"
#include "command/commands.h" #include "command/commands.h"

View File

@ -32,10 +32,11 @@
* *
*/ */
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <glib.h> #include <glib.h>
#include "config.h"
#include "log.h" #include "log.h"
#include "ui/ui.h" #include "ui/ui.h"
#include "window_list.h" #include "window_list.h"

View File

@ -32,12 +32,12 @@
* *
*/ */
#include "config.h"
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
#include "config.h"
#include "chat_session.h" #include "chat_session.h"
#include "log.h" #include "log.h"
#include "muc.h" #include "muc.h"

View File

@ -31,10 +31,12 @@
* source files in the program, then also delete it here. * source files in the program, then also delete it here.
* *
*/ */
#include "config.h"
#include <string.h> #include <string.h>
#include <glib.h> #include <glib.h>
#include "config.h"
#ifdef HAVE_GIT_VERSION #ifdef HAVE_GIT_VERSION
#include "gitversion.h" #include "gitversion.h"
#endif #endif

View File

@ -32,6 +32,8 @@
* *
*/ */
#include "config.h"
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
@ -44,6 +46,9 @@
#include "ui/ui.h" #include "ui/ui.h"
#include "ui/window.h" #include "ui/window.h"
#include "ui/titlebar.h" #include "ui/titlebar.h"
#ifdef HAVE_LIBOTR
#include "otr/otr.h"
#endif
static void _chatwin_history(ProfChatWin *chatwin, const char *const contact); static void _chatwin_history(ProfChatWin *chatwin, const char *const contact);

View File

@ -35,6 +35,8 @@
#ifndef UI_UI_H #ifndef UI_UI_H
#define UI_UI_H #define UI_UI_H
#include "config.h"
#include "command/commands.h" #include "command/commands.h"
#include "ui/win_types.h" #include "ui/win_types.h"
#include "muc.h" #include "muc.h"

View File

@ -1,3 +1,5 @@
#include "config.h"
#include <glib.h> #include <glib.h>
#include <wchar.h> #include <wchar.h>
@ -6,6 +8,9 @@
#include "ui/window.h" #include "ui/window.h"
#include "ui/ui.h" #include "ui/ui.h"
#ifdef HAVE_LIBOTR
#include "otr/otr.h"
#endif
#include "tests/unittests/ui/stub_ui.h" #include "tests/unittests/ui/stub_ui.h"