Mercurial > mplayer.hg
diff libao2/ao_alsa9.c @ 5855:c21948cd027d
fix for latest alsa (sys/asoundlib.h has been moved to alsa/asoundlib.h)
cleanups for "usr/src/DVB/ost/include" detection
small cosmetic fixes
author | pl |
---|---|
date | Sat, 27 Apr 2002 01:25:32 +0000 |
parents | d141f1e9cc36 |
children | d9641a4e7dbb |
line wrap: on
line diff
--- a/libao2/ao_alsa9.c Sat Apr 27 01:17:42 2002 +0000 +++ b/libao2/ao_alsa9.c Sat Apr 27 01:25:32 2002 +0000 @@ -12,7 +12,14 @@ */ #include <errno.h> + +#if HAVE_SYS_ASOUNDLIB_H #include <sys/asoundlib.h> +#elif HAVE_ALSA_ASOUNDLIB_H +#include <alsa/asoundlib.h> +#else +#error "asoundlib.h is not in sys/ or alsa/ - please bugreport" +#endif #include "../config.h"