aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/FLACCommon.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decoder/FLACCommon.hxx (renamed from src/decoder/flac_common.h)8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/decoder/flac_common.h b/src/decoder/FLACCommon.hxx
index c898a47cf..3d280cc49 100644
--- a/src/decoder/flac_common.h
+++ b/src/decoder/FLACCommon.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2012 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -21,11 +21,13 @@
* Common data structures and functions used by FLAC and OggFLAC
*/
-#ifndef MPD_FLAC_COMMON_H
-#define MPD_FLAC_COMMON_H
+#ifndef MPD_FLAC_COMMON_HXX
+#define MPD_FLAC_COMMON_HXX
+extern "C" {
#include "decoder_api.h"
#include "pcm_buffer.h"
+}
#include <FLAC/stream_decoder.h>
#include <FLAC/metadata.h>