Mercurial > mplayer.hg
diff stream/stream_radio.c @ 19608:18a538908577
Check for requirements at configure-time, not at run-time.
patch by Vladimir Voroshilov, voroshil <at> gmail <dot> com
author | diego |
---|---|
date | Thu, 31 Aug 2006 19:00:09 +0000 |
parents | 832d6f6f805e |
children | e9576ce3d426 |
line wrap: on
line diff
--- a/stream/stream_radio.c Thu Aug 31 18:43:53 2006 +0000 +++ b/stream/stream_radio.c Thu Aug 31 19:00:09 2006 +0000 @@ -1,5 +1,3 @@ - -#include "config.h" /* * Radio support * @@ -32,9 +30,7 @@ #undef USE_RADIO_CAPTURE #endif -#if !defined(HAVE_RADIO_V4L) && !defined(HAVE_RADIO_V4L2) -#error "This driver requires V4L1 or V4L2!" -#endif +#include "config.h" #include <stdlib.h> #include <stdio.h>