OpenALStream: don't include headers if not building

This commit is contained in:
Michael Maltese 2017-06-25 23:02:57 -07:00
parent 0fb742581a
commit 56961f5561

View File

@ -2,6 +2,8 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
#if defined HAVE_OPENAL && HAVE_OPENAL
#include <climits>
#include <cstring>
#include <thread>
@ -13,8 +15,6 @@
#include "Common/Thread.h"
#include "Core/ConfigManager.h"
#if defined HAVE_OPENAL && HAVE_OPENAL
#ifdef _WIN32
#pragma comment(lib, "openal32.lib")
#endif