diff options
Diffstat (limited to 'stream/tvi_v4l2.c')
-rw-r--r-- | stream/tvi_v4l2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stream/tvi_v4l2.c b/stream/tvi_v4l2.c index 135fcbf8ff..5891ac4556 100644 --- a/stream/tvi_v4l2.c +++ b/stream/tvi_v4l2.c @@ -46,10 +46,10 @@ known issues: #include <sys/types.h> #include <unistd.h> #include <math.h> -#ifdef HAVE_SYS_SYSINFO_H +#if HAVE_SYS_SYSINFO_H #include <sys/sysinfo.h> #endif -#ifdef HAVE_SYS_VIDEOIO_H +#if HAVE_SYS_VIDEOIO_H #include <sys/videoio.h> #else #include <linux/types.h> @@ -400,7 +400,7 @@ static void init_audio(priv_t *priv) if (priv->audio_initialized) return; if (!priv->tv_param->noaudio) { -#ifdef CONFIG_ALSA +#if HAVE_ALSA if (priv->tv_param->alsa) audio_in_init(&priv->audio_in, AUDIO_IN_ALSA); else @@ -1321,7 +1321,7 @@ static int get_capture_buffer_size(priv_t *priv) if (priv->tv_param->buffer_size >= 0) { bufsize = priv->tv_param->buffer_size*1024*1024; } else { -#ifdef HAVE_SYS_SYSINFO_H +#if HAVE_SYS_SYSINFO_H struct sysinfo si; sysinfo(&si); |