aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--code/client/qal.c5
-rw-r--r--code/client/qal.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/code/client/qal.c b/code/client/qal.c
index 457ab3a..90e2e2a 100644
--- a/code/client/qal.c
+++ b/code/client/qal.c
@@ -25,11 +25,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#ifdef USE_OPENAL
-#ifdef USE_OPENAL_DLOPEN
-#define AL_NO_PROTOTYPES
-#define ALC_NO_PROTOTYPES
-#endif
-
#include "qal.h"
#ifdef USE_OPENAL_DLOPEN
diff --git a/code/client/qal.h b/code/client/qal.h
index fbf3d37..a041dc2 100644
--- a/code/client/qal.h
+++ b/code/client/qal.h
@@ -28,6 +28,11 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "../qcommon/q_shared.h"
#include "../qcommon/qcommon.h"
+#ifdef USE_OPENAL_DLOPEN
+#define AL_NO_PROTOTYPES
+#define ALC_NO_PROTOTYPES
+#endif
+
#ifdef USE_LOCAL_HEADERS
#include "../AL/al.h"
#include "../AL/alc.h"