Mercurial > mplayer.hg
changeset 7066:e0255720a67c
fix ai_oss.c compilation on non linux systems - by Bernd Ernesti <mplayer@lists.veego.de>
author | jaf |
---|---|
date | Thu, 22 Aug 2002 08:05:27 +0000 |
parents | 7685130ba4bd |
children | b395b1240954 |
files | libmpdemux/ai_oss.c |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/ai_oss.c Thu Aug 22 04:59:45 2002 +0000 +++ b/libmpdemux/ai_oss.c Thu Aug 22 08:05:27 2002 +0000 @@ -1,7 +1,16 @@ #include "config.h" +#ifdef HAVE_SYS_SOUNDCARD_H +#include <sys/soundcard.h> +#else +#ifdef HAVE_SOUNDCARD_H +#include <soundcard.h> +#else #include <linux/soundcard.h> +#endif +#endif #include <fcntl.h> #include <errno.h> +#include <sys/ioctl.h> #include "audio_in.h" #include "mp_msg.h"