Index: libvo/vo_caca.c =================================================================== --- libvo/vo_caca.c (revision 19922) +++ libvo/vo_caca.c (working copy) @@ -28,6 +28,11 @@ #include "mp_msg.h" #include +#ifdef CACA_API_VERSION_1 + /* Include the pre-1.x compatibility header; + * eventually vo_caca should be ported to the new API. */ + #include +#endif static vo_info_t info = { "libcaca", Index: configure =================================================================== --- configure (revision 19922) +++ configure (working copy) @@ -4172,6 +4172,9 @@ if ( caca-config --version ) >> "$TMPLOG" 2>&1 ; then cat > $TMPC << EOF #include +#ifdef CACA_API_VERSION_1 + #include +#endif int main(void) { (void) caca_init(); return 0; } EOF cc_check `caca-config --libs` && _caca=yes