Include standard headers before conditional ones

This commit is contained in:
Chris Robinson
2012-11-04 22:36:34 -08:00
parent 3da1b540fd
commit 2f07c46e20
+6 -7
View File
@@ -20,6 +20,12 @@
#include "config.h"
#include <malloc.h>
#include <stdlib.h>
#include <time.h>
#include <errno.h>
#include <stdarg.h>
#if defined(HAVE_GUIDDEF_H) || defined(HAVE_INITGUID_H)
#define INITGUID
#include <windows.h>
@@ -41,16 +47,9 @@ DEFINE_GUID(IID_IAudioRenderClient, 0xf294acfc, 0x3146, 0x4483, 0xa7,0xbf, 0xa
#ifdef HAVE_MMDEVAPI
#include <devpropdef.h>
DEFINE_DEVPROPKEY(DEVPKEY_Device_FriendlyName, 0xa45c254e, 0xdf1c, 0x4efd, 0x80,0x20, 0x67,0xd1,0x46,0xa8,0x50,0xe0, 14);
#endif
#endif
#include <stdlib.h>
#include <time.h>
#include <errno.h>
#include <stdarg.h>
#ifdef HAVE_DLFCN_H
#include <dlfcn.h>
#endif