Reduce header includes

This commit is contained in:
twinaphex 2014-10-21 19:07:14 +02:00
parent 9a4753307e
commit 7987053870
3 changed files with 1 additions and 9 deletions

View File

@ -17,8 +17,7 @@
#include "playlist.h" #include "playlist.h"
#include <compat/posix_string.h> #include <compat/posix_string.h>
#include "boolean.h" #include <boolean.h>
#include "file.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -22,12 +22,9 @@
#include <string.h> #include <string.h>
#include <ctype.h> #include <ctype.h>
#include <errno.h> #include <errno.h>
#include "driver.h"
#include "file.h"
#include "file_path.h" #include "file_path.h"
#include "dir_list.h" #include "dir_list.h"
#include "general.h" #include "general.h"
#include "dynamic.h"
#include <compat/strl.h> #include <compat/strl.h>
#include "screenshot.h" #include "screenshot.h"
#include "performance.h" #include "performance.h"
@ -35,7 +32,6 @@
#include <compat/getopt.h> #include <compat/getopt.h>
#include <compat/posix_string.h> #include <compat/posix_string.h>
#include "input/keyboard_line.h" #include "input/keyboard_line.h"
#include "input/input_common.h"
#include "git_version.h" #include "git_version.h"
#include "intl/intl.h" #include "intl/intl.h"

View File

@ -13,16 +13,13 @@
* If not, see <http://www.gnu.org/licenses/>. * If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "general.h"
#include "conf/config_file.h" #include "conf/config_file.h"
#include "conf/config_file_macros.h" #include "conf/config_file_macros.h"
#include <compat/strl.h> #include <compat/strl.h>
#include <compat/posix_string.h> #include <compat/posix_string.h>
#include "config.def.h" #include "config.def.h"
#include "file.h"
#include "file_path.h" #include "file_path.h"
#include "input/input_common.h" #include "input/input_common.h"
#include "frontend/frontend.h"
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"