From 5e31be1500b66612119bf866cdb9b8df2b96aa17 Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Wed, 4 Dec 2002 07:07:35 +0000 Subject: [PATCH] #include config.h --- src/flac/decode.h | 4 ++++ src/libFLAC/cpu.c | 4 ++++ src/libFLAC/include/private/cpu.h | 4 ++++ src/libFLAC/include/private/fixed.h | 4 ++++ src/libFLAC/include/private/lpc.h | 6 ++++-- src/libFLAC/md5.c | 4 ++++ src/libFLAC/memory.c | 4 ++++ src/libFLAC/stream_decoder.c | 4 ++++ src/libFLAC/stream_encoder.c | 4 ++++ src/plugin_common/id3v2.c | 4 ++++ src/share/utf8/charset.c | 4 ++++ 11 files changed, 44 insertions(+), 2 deletions(-) diff --git a/src/flac/decode.h b/src/flac/decode.h index 3e0dfa89..4298c31f 100644 --- a/src/flac/decode.h +++ b/src/flac/decode.h @@ -21,6 +21,10 @@ #include "analyze.h" +#ifdef HAVE_CONFIG_H +#include +#endif + typedef struct { FLAC__bool verbose; FLAC__bool continue_through_decode_errors; diff --git a/src/libFLAC/cpu.c b/src/libFLAC/cpu.c index 3e031836..2e449962 100644 --- a/src/libFLAC/cpu.c +++ b/src/libFLAC/cpu.c @@ -21,6 +21,10 @@ #include #include +#ifdef HAVE_CONFIG_H +#include +#endif + const unsigned FLAC__CPUINFO_IA32_CPUID_CMOV = 0x00008000; const unsigned FLAC__CPUINFO_IA32_CPUID_MMX = 0x00800000; const unsigned FLAC__CPUINFO_IA32_CPUID_FXSR = 0x01000000; diff --git a/src/libFLAC/include/private/cpu.h b/src/libFLAC/include/private/cpu.h index 7b621747..d7475c77 100644 --- a/src/libFLAC/include/private/cpu.h +++ b/src/libFLAC/include/private/cpu.h @@ -22,6 +22,10 @@ #include "FLAC/ordinals.h" +#ifdef HAVE_CONFIG_H +#include +#endif + typedef enum { FLAC__CPUINFO_TYPE_IA32, FLAC__CPUINFO_TYPE_UNKNOWN diff --git a/src/libFLAC/include/private/fixed.h b/src/libFLAC/include/private/fixed.h index baf7003a..f3001d31 100644 --- a/src/libFLAC/include/private/fixed.h +++ b/src/libFLAC/include/private/fixed.h @@ -22,6 +22,10 @@ #include "FLAC/format.h" +#ifdef HAVE_CONFIG_H +#include +#endif + /* * FLAC__fixed_compute_best_predictor() * -------------------------------------------------------------------- diff --git a/src/libFLAC/include/private/lpc.h b/src/libFLAC/include/private/lpc.h index 2513138a..3075b7eb 100644 --- a/src/libFLAC/include/private/lpc.h +++ b/src/libFLAC/include/private/lpc.h @@ -20,9 +20,11 @@ #ifndef FLAC__PRIVATE__LPC_H #define FLAC__PRIVATE__LPC_H -#include "FLAC/ordinals.h" +#include "FLAC/format.h" -#define FLAC__MAX_LPC_ORDER (32u) +#ifdef HAVE_CONFIG_H +#include +#endif /* * FLAC__lpc_compute_autocorrelation() diff --git a/src/libFLAC/md5.c b/src/libFLAC/md5.c index 24feb959..70fdedbe 100644 --- a/src/libFLAC/md5.c +++ b/src/libFLAC/md5.c @@ -28,6 +28,10 @@ #include "private/md5.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef FLaC__INLINE #define FLaC__INLINE #endif diff --git a/src/libFLAC/memory.c b/src/libFLAC/memory.c index 9aaf7b30..c6c831e1 100644 --- a/src/libFLAC/memory.c +++ b/src/libFLAC/memory.c @@ -20,6 +20,10 @@ #include "private/memory.h" #include "FLAC/assert.h" +#ifdef HAVE_CONFIG_H +#include +#endif + void *FLAC__memory_alloc_aligned(size_t bytes, void **aligned_address) { void *x; diff --git a/src/libFLAC/stream_decoder.c b/src/libFLAC/stream_decoder.c index aca94069..c8c2b485 100644 --- a/src/libFLAC/stream_decoder.c +++ b/src/libFLAC/stream_decoder.c @@ -30,6 +30,10 @@ #include "private/format.h" #include "private/lpc.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef max #undef max #endif diff --git a/src/libFLAC/stream_encoder.c b/src/libFLAC/stream_encoder.c index db123d8a..97e4791e 100644 --- a/src/libFLAC/stream_encoder.c +++ b/src/libFLAC/stream_encoder.c @@ -35,6 +35,10 @@ #include "private/memory.h" #include "private/stream_encoder_framing.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #ifdef min #undef min #endif diff --git a/src/plugin_common/id3v2.c b/src/plugin_common/id3v2.c index c90f159c..e017c0ac 100644 --- a/src/plugin_common/id3v2.c +++ b/src/plugin_common/id3v2.c @@ -35,6 +35,10 @@ #include "id3v1.h" /* for genre stuff */ #include "locale_hack.h" +#ifdef HAVE_CONFIG_H +#include +#endif + #define ID3V2_MAX_STRING_LEN 4096 #define NUMBER_TRACK_FORMATED 1 diff --git a/src/share/utf8/charset.c b/src/share/utf8/charset.c index 2775d10d..0b796996 100644 --- a/src/share/utf8/charset.c +++ b/src/share/utf8/charset.c @@ -27,6 +27,10 @@ * 8-bit char, 16-bit short and 32-bit int. */ +#ifdef HAVE_CONFIG_H +#include +#endif + #ifndef HAVE_ICONV /* should be ifdef USE_CHARSET_CONVERT */ #include