aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/helpers.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2012-11-04 22:36:34 -0800
committerChris Robinson <[email protected]>2012-11-04 22:36:34 -0800
commit2f07c46e20fa4bfe19996a94d7a45ef77aecff55 (patch)
tree992ff2273e5053b80a17f10ed5199b37cebe6c58 /Alc/helpers.c
parent3da1b540fd333caee51ca710b8c9ef92ffcc692d (diff)
Include standard headers before conditional ones
Diffstat (limited to 'Alc/helpers.c')
-rw-r--r--Alc/helpers.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/Alc/helpers.c b/Alc/helpers.c
index 963ead67..859e6c3d 100644
--- a/Alc/helpers.c
+++ b/Alc/helpers.c
@@ -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