From 2c08bf1bd744bb8eb5986f1ccb3ae03e284170dc Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 18 Dec 2013 17:12:21 +0100 Subject: Reduce recursive config.h inclusions in headers In my opinion, config.h inclusions should be kept to a minimum. MPlayer code really liked including config.h everywhere, though, even in often used header files. Try to reduce this. --- osdep/getch2.h | 2 -- osdep/glob.h | 1 - 2 files changed, 3 deletions(-) (limited to 'osdep') diff --git a/osdep/getch2.h b/osdep/getch2.h index 4dc3b29dce..76cedd9928 100644 --- a/osdep/getch2.h +++ b/osdep/getch2.h @@ -26,8 +26,6 @@ #include -#include "config.h" - /* Screen size. Initialized by load_termcap() and get_screen_size() */ extern int screen_width; extern int screen_height; diff --git a/osdep/glob.h b/osdep/glob.h index 2d23b3a075..f117725d63 100644 --- a/osdep/glob.h +++ b/osdep/glob.h @@ -20,7 +20,6 @@ #define MPLAYER_GLOB_H #include -#include "config.h" typedef struct { size_t gl_pathc; -- cgit v1.2.3