diff --git a/src/gui/keybind_setup.cpp b/src/gui/keybind_setup.cpp index 8ef889b29..478602188 100644 --- a/src/gui/keybind_setup.cpp +++ b/src/gui/keybind_setup.cpp @@ -33,20 +33,6 @@ #include #endif -#ifdef HAVE_COOLSTREAM_CS_IR_GENERIC_H -/* define constants instead of #ifdef'ing the corresponding code. - * the compiler will optimize it away anyway, but the syntax is - * still checked */ -#define RC_HW_SELECT true -#else -#define RC_HW_SELECT false -#ifdef HAVE_COOL_HARDWARE -#warning header coolstream/cs_ir_generic.h not found -#warning you probably have an old driver installation -#warning you´ll be missing the remotecontrol selection feature! -#endif -#endif - #include "keybind_setup.h" #include @@ -65,6 +51,19 @@ #include +#ifdef IOC_IR_SET_PRI_PROTOCOL +/* define constants instead of #ifdef'ing the corresponding code. + * the compiler will optimize it away anyway, but the syntax is + * still checked */ +#define RC_HW_SELECT true +#else +#define RC_HW_SELECT false +#ifdef HAVE_COOL_HARDWARE +#warning header coolstream/cs_ir_generic.h not found +#warning you probably have an old driver installation +#warning you´ll be missing the remotecontrol selection feature! +#endif +#endif CKeybindSetup::CKeybindSetup() {