Alexandre Julliard : openal32: Include system headers before Windows headers.

Alexandre Julliard julliard at winehq.org
Tue Sep 6 11:35:52 CDT 2011


Module: wine
Branch: master
Commit: 34a7180caf14fe7006b66e5da94b076e1713182d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=34a7180caf14fe7006b66e5da94b076e1713182d

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Sep  6 12:11:55 2011 +0200

openal32: Include system headers before Windows headers.

---

 dlls/openal32/openal.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/openal32/openal.c b/dlls/openal32/openal.c
index 9e0a8f2..6a8e8f1 100644
--- a/dlls/openal32/openal.c
+++ b/dlls/openal32/openal.c
@@ -25,10 +25,6 @@
 #include <stdarg.h>
 #include <string.h>
 
-#include "windef.h"
-#include "winbase.h"
-#include "wine/debug.h"
-
 #ifdef HAVE_AL_AL_H
 #include <AL/al.h>
 #include <AL/alc.h>
@@ -37,6 +33,10 @@
 #include <OpenAL/alc.h>
 #endif
 
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
 WINE_DEFAULT_DEBUG_CHANNEL(openal32);
 
 static ALCboolean  (ALC_APIENTRY*alcSetThreadContext)(ALCcontext *context);




More information about the wine-cvs mailing list