summaryrefslogtreecommitdiffstats
path: root/input/input.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-10 00:51:36 +0200
committerwm4 <wm4@nowhere>2014-09-10 00:51:36 +0200
commitae63702a2c5bad0e943b84d05a4c6559052d11e7 (patch)
treeba197cfcfe7803d37296bcb8aece7a52b8aa077e /input/input.c
parente2a093df02c0340ab285d3905425fd12b376fdef (diff)
downloadmpv-ae63702a2c5bad0e943b84d05a4c6559052d11e7.tar.bz2
mpv-ae63702a2c5bad0e943b84d05a4c6559052d11e7.tar.xz
input: remove useless joystick.h/lirc.h include files
These really just waste space.
Diffstat (limited to 'input/input.c')
-rw-r--r--input/input.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/input/input.c b/input/input.c
index 83a76bb51b..cc4cc6285c 100644
--- a/input/input.c
+++ b/input/input.c
@@ -53,12 +53,6 @@
#include "stream/stream.h"
#include "common/common.h"
-#include "joystick.h"
-
-#if HAVE_LIRC
-#include "lirc.h"
-#endif
-
#if HAVE_COCOA
#include "osdep/macosx_events.h"
#endif
@@ -230,13 +224,13 @@ const struct m_sub_options input_config = {
OPT_FLAG("right-alt-gr", use_alt_gr, CONF_GLOBAL),
OPT_INTRANGE("key-fifo-size", key_fifo_size, CONF_GLOBAL, 2, 65000),
OPT_FLAG("cursor", enable_mouse_movements, CONF_GLOBAL),
- #if HAVE_LIRC
+#if HAVE_LIRC
OPT_STRING("lirc-conf", lirc_configfile, CONF_GLOBAL),
- #endif
- #if HAVE_COCOA
+#endif
+#if HAVE_COCOA
OPT_FLAG("appleremote", use_appleremote, CONF_GLOBAL),
OPT_FLAG("media-keys", use_media_keys, CONF_GLOBAL),
- #endif
+#endif
{0}
},
.size = sizeof(struct input_opts),