aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-11 16:37:42 +0100
committerMax Kellermann <max@duempel.org>2009-11-11 16:37:42 +0100
commitf2f8290242019ec1d49cca0142af39e58878f3e8 (patch)
treebb64646cde7c58e2a7efd444ac8efd6878ab595f
parentc1186693b5d481d0fc5cbb60730e80c37f31d080 (diff)
downloadmpd-f2f8290242019ec1d49cca0142af39e58878f3e8.tar.gz
mpd-f2f8290242019ec1d49cca0142af39e58878f3e8.tar.xz
mpd-f2f8290242019ec1d49cca0142af39e58878f3e8.zip
decoder/{flac,vorbis}: include config.h for LFS
Allow those plugins to open large files on 32 bit platforms.
-rw-r--r--src/decoder/flac_plugin.c1
-rw-r--r--src/decoder/oggflac_plugin.c1
-rwxr-xr-xsrc/decoder/vorbis_plugin.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/decoder/flac_plugin.c b/src/decoder/flac_plugin.c
index e57c18b79..3635a6743 100644
--- a/src/decoder/flac_plugin.c
+++ b/src/decoder/flac_plugin.c
@@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#include "config.h" /* must be first for large file support */
#include "_flac_common.h"
#include "flac_metadata.h"
diff --git a/src/decoder/oggflac_plugin.c b/src/decoder/oggflac_plugin.c
index 018875ae8..3f8d640f3 100644
--- a/src/decoder/oggflac_plugin.c
+++ b/src/decoder/oggflac_plugin.c
@@ -21,6 +21,7 @@
* OggFLAC support (half-stolen from flac_plugin.c :))
*/
+#include "config.h" /* must be first for large file support */
#include "_flac_common.h"
#include "_ogg_common.h"
#include "flac_metadata.h"
diff --git a/src/decoder/vorbis_plugin.c b/src/decoder/vorbis_plugin.c
index 2ac9c3bcb..3b363f992 100755
--- a/src/decoder/vorbis_plugin.c
+++ b/src/decoder/vorbis_plugin.c
@@ -19,6 +19,7 @@
/* TODO 'ogg' should probably be replaced with 'oggvorbis' in all instances */
+#include "config.h" /* must be first for large file support */
#include "_ogg_common.h"
#include "config.h"
#include "uri.h"