diff --git a/configure b/configure index d65f1bebd4..5771169a57 100755 --- a/configure +++ b/configure @@ -3615,6 +3615,7 @@ echocheck "Apple IR" if test "$_apple_ir" = auto ; then _apple_ir=no cat > $TMPC < #include int main(void) { struct input_event ev; diff --git a/input/appleir.c b/input/appleir.c index a3ec66e8cb..2593f7cb5d 100644 --- a/input/appleir.c +++ b/input/appleir.c @@ -34,6 +34,7 @@ #include #include +#include #include #include "mp_msg.h"