diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-04-27 14:04:53 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2002-04-27 14:04:53 +0000 |
commit | 391bdc4d345ccc58ee98b692c789e4b36ca4e247 (patch) | |
tree | 58c34c7fe2b68d6d4a91e3d79d9b1b9893c480cb /src | |
parent | b96d33b573af28e47f185cedb6c3d7efda60d70f (diff) | |
download | xine-lib-391bdc4d345ccc58ee98b692c789e4b36ca4e247.tar.gz xine-lib-391bdc4d345ccc58ee98b692c789e4b36ca4e247.tar.bz2 |
Try do use the right asoundlib header file (avoid warning message).
CVS patchset: 1780
CVS date: 2002/04/27 14:04:53
Diffstat (limited to 'src')
-rw-r--r-- | src/audio_out/audio_alsa_out.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c index 1da6c2235..3aa136877 100644 --- a/src/audio_out/audio_alsa_out.c +++ b/src/audio_out/audio_alsa_out.c @@ -26,7 +26,7 @@ * (c) 2001 James Courtier-Dutton <James@superbug.demon.co.uk> * * - * $Id: audio_alsa_out.c,v 1.50 2002/04/15 00:50:44 jcdutton Exp $ + * $Id: audio_alsa_out.c,v 1.51 2002/04/27 14:04:53 f1rmb Exp $ */ #ifdef HAVE_CONFIG_H @@ -41,7 +41,13 @@ #include <fcntl.h> #include <math.h> #include <alloca.h> + +#ifdef HAVE_ALSA_ASOUNDLIB_H +#include <alsa/asoundlib.h> +#elif HAVE_SYS_ASOUNDLIB_H #include <sys/asoundlib.h> +#endif + #include <sys/ioctl.h> #include <inttypes.h> #include <pthread.h> |