got it.
( google is your friend...
)
you've got to edit two files :
1 :......./wine-20041019/dlls/winmm/winealsa/audio.c:
change :
Code:
#endif <line 46
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winerror.h"
#include "winuser.h"
#include "winnls.h"
#include "winreg.h"
#include "mmddk.h"
#include "mmreg.h"
#include "dsound.h"
#include "dsdriver.h"
#include "ks.h"
#include "ksguid.h"
#include "ksmedia.h"
#define ALSA_PCM_NEW_HW_PARAMS_API <--line moves up
#define ALSA_PCM_NEW_SW_PARAMS_API <--line moves up
#include "alsa.h" <--line moves up
#include "wine/library.h"
to
Code:
#endif
#include "windef.h"
#define ALSA_PCM_NEW_HW_PARAMS_API
#define ALSA_PCM_NEW_SW_PARAMS_API
#include "alsa.h"
#include "winbase.h"
#include "wingdi.h"
#include "winerror.h"
#include "winuser.h"
#include "winnls.h"
#include "winreg.h"
#include "mmddk.h"
#include "mmreg.h"
#include "dsound.h"
#include "dsdriver.h"
#include "ks.h"
#include "ksguid.h"
#include "ksmedia.h"
#include "wine/library.h"
the 3 lines referring to alsa are moved up.
2:......./wine-20041019/dlls/winmm/winealsa/audio_05.c:
same trick...( i'll give only the result )
file should look like :
Code:
#include "windef.h" <--line 41
#include "alsa.h" <--this line was moved up
#include "winbase.h"
#include "wingdi.h"
#include "winerror.h"
#include "winuser.h"
#include "mmddk.h"
#include "dsound.h"
#include "dsdriver.h"
#include "wine/debug.h"
after that, things will compile.
good luck,
egag