summaryrefslogtreecommitdiff
path: root/src/libFLAC++
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2013-05-31 21:55:55 -0400
committerErik de Castro Lopo <erikd@mega-nerd.com>2013-06-05 18:50:17 +1000
commitd42c04260bf9e27cbb8c61a5529ecab3b20e25ff (patch)
tree235e1c9e9bc91e3cdaf5031880ddf1d072762d33 /src/libFLAC++
parent21a70169f8b8644d7737bf2a8b3f972b38646540 (diff)
downloadflac-d42c04260bf9e27cbb8c61a5529ecab3b20e25ff.tar.gz
Add missing config.h includes
All C and C++ files must include config.h Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
Diffstat (limited to 'src/libFLAC++')
-rw-r--r--src/libFLAC++/metadata.cpp4
-rw-r--r--src/libFLAC++/stream_decoder.cpp4
-rw-r--r--src/libFLAC++/stream_encoder.cpp4
3 files changed, 12 insertions, 0 deletions
diff --git a/src/libFLAC++/metadata.cpp b/src/libFLAC++/metadata.cpp
index e03acf39..d6fff067 100644
--- a/src/libFLAC++/metadata.cpp
+++ b/src/libFLAC++/metadata.cpp
@@ -31,6 +31,10 @@
*/
#define __STDC_LIMIT_MACROS 1 /* otherwise SIZE_MAX is not defined for c++ */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "share/alloc.h"
#include "FLAC++/metadata.h"
#include "FLAC/assert.h"
diff --git a/src/libFLAC++/stream_decoder.cpp b/src/libFLAC++/stream_decoder.cpp
index 5d68c285..73c5608f 100644
--- a/src/libFLAC++/stream_decoder.cpp
+++ b/src/libFLAC++/stream_decoder.cpp
@@ -30,6 +30,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "FLAC++/decoder.h"
#include "FLAC/assert.h"
diff --git a/src/libFLAC++/stream_encoder.cpp b/src/libFLAC++/stream_encoder.cpp
index bbbbeff7..a19ec6ef 100644
--- a/src/libFLAC++/stream_encoder.cpp
+++ b/src/libFLAC++/stream_encoder.cpp
@@ -30,6 +30,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "FLAC++/encoder.h"
#include "FLAC++/metadata.h"
#include "FLAC/assert.h"