[prev in list] [next in list] [prev in thread] [next in thread]
List: mplayer-dev-eng
Subject: Re: [MPlayer-dev-eng] libao2 and Alsa-compile problem (with fix)
From: Felix Buenemann <atmosfear () users ! sourceforge ! net>
Date: 2002-04-27 8:23:41
Message-ID: 200204271023.41852.atmosfear () users ! sourceforge ! net
[Download RAW message or body]
On Saturday 27 April 2002 04:41, Sven Hartge wrote:
> Hi.
>
> In the latest CVS, the ao_alsa9.c looks like this:
>
> ,----
>
> | [...]
> |
> | #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"
> |
> | [...]
>
> `----
>
> Since HAVE_ALSA_ASOUNDLIB_H or HAVE_SYS_ASOUNDLIB_H is defined in
> config.h, it is needed to include it _before_ the #ifs, or the
> compiliation will fail.
>
> So just moving #include "../config.h" above the ALSA-#ifs will solve
> this problem.
thx, fixed!
>
> S°
--
Best Regards,
Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic