mmdevapi: Include system headers before Wine headers.
This commit is contained in:
parent
7b36f6658b
commit
a7d000e2e2
|
@ -16,11 +16,19 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#define NONAMELESSUNION
|
||||
#include "config.h"
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifdef HAVE_AL_AL_H
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
||||
#elif defined(HAVE_OPENAL_AL_H)
|
||||
#include <OpenAL/al.h>
|
||||
#include <OpenAL/alc.h>
|
||||
#endif
|
||||
|
||||
#define NONAMELESSUNION
|
||||
#define CINTERFACE
|
||||
#define COBJMACROS
|
||||
#include "windef.h"
|
||||
|
|
|
@ -21,6 +21,14 @@
|
|||
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifdef HAVE_AL_AL_H
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
||||
#elif defined(HAVE_OPENAL_AL_H)
|
||||
#include <OpenAL/al.h>
|
||||
#include <OpenAL/alc.h>
|
||||
#endif
|
||||
|
||||
#define CINTERFACE
|
||||
#define COBJMACROS
|
||||
#include "windef.h"
|
||||
|
|
|
@ -16,6 +16,10 @@
|
|||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef __WINE_CONFIG_H
|
||||
# error You must include config.h to use this header
|
||||
#endif
|
||||
|
||||
extern HRESULT MMDevEnum_Create(REFIID riid, void **ppv);
|
||||
extern void MMDevEnum_Free(void);
|
||||
|
||||
|
@ -37,15 +41,6 @@ typedef struct MMDevice {
|
|||
|
||||
#ifdef HAVE_OPENAL
|
||||
|
||||
#ifdef HAVE_AL_AL_H
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
||||
#elif defined(HAVE_OPENAL_AL_H)
|
||||
#include <OpenAL/al.h>
|
||||
#include <OpenAL/alc.h>
|
||||
#else
|
||||
#error No OpenAL headers found?
|
||||
#endif
|
||||
#include "alext.h"
|
||||
|
||||
/* All openal functions */
|
||||
|
|
Loading…
Reference in New Issue