From c39611bbe90b79a9e17ffe4ff95a4c1a058eba92 Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 26 Aug 2002 17:20:17 +0000 Subject: [PATCH] Martin Olschewski : [PATCH] ai_oss.c should check for USE_OSS_AUDIO git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7092 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/ai_oss.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libmpdemux/ai_oss.c b/libmpdemux/ai_oss.c index 7fe473eae3..9bc2170580 100644 --- a/libmpdemux/ai_oss.c +++ b/libmpdemux/ai_oss.c @@ -1,4 +1,6 @@ #include "config.h" + +#ifdef USE_OSS_AUDIO #ifdef HAVE_SYS_SOUNDCARD_H #include #else @@ -11,6 +13,7 @@ #include #include #include +#include /* strerror */ #include "audio_in.h" #include "mp_msg.h" @@ -130,3 +133,5 @@ int ai_oss_init(audio_in_t *ai) return 0; } + +#endif /* USE_OSS_AUDIO */