summaryrefslogtreecommitdiffstats
path: root/osdep
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-18 17:12:21 +0100
committerwm4 <wm4@nowhere>2013-12-18 17:12:21 +0100
commit2c08bf1bd744bb8eb5986f1ccb3ae03e284170dc (patch)
treed8d7c08760dcc584f99eff7b921bb87a116fe532 /osdep
parent5e0424f17f23c24e82a4325ff81e7ef67ac1337a (diff)
downloadmpv-2c08bf1bd744bb8eb5986f1ccb3ae03e284170dc.tar.bz2
mpv-2c08bf1bd744bb8eb5986f1ccb3ae03e284170dc.tar.xz
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.
Diffstat (limited to 'osdep')
-rw-r--r--osdep/getch2.h2
-rw-r--r--osdep/glob.h1
2 files changed, 0 insertions, 3 deletions
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 <stdbool.h>
-#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 <sys/types.h>
-#include "config.h"
typedef struct {
size_t gl_pathc;