From ddb47b29c1caab4a94a75f033133523ad3dc2ba5 Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Thu, 28 Sep 2017 12:01:41 -0700 Subject: [PATCH] Explicitly call out path to config.h Under Windows it seems that the Arduino compilation can't find from inside a subdirectory. So just point explicitly to "../config.h" for includes in subdirs. --- src/libflac/private/cpu.h | 2 +- src/libflac/private/fixed.h | 2 +- src/libflac/private/float.h | 2 +- src/libflac/private/lpc.h | 2 +- src/libflac/private/memory.h | 2 +- src/libflac/private/window.h | 2 +- src/libflac/share/alloc.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/libflac/private/cpu.h b/src/libflac/private/cpu.h index c5384d4..5b51080 100644 --- a/src/libflac/private/cpu.h +++ b/src/libflac/private/cpu.h @@ -36,7 +36,7 @@ #include "../FLAC/ordinals.h" //#ifdef HAVE_CONFIG_H -#include +#include "../config.h" //#endif #ifndef FLAC__CPU_X86_64 diff --git a/src/libflac/private/fixed.h b/src/libflac/private/fixed.h index 92d694b..e9e343e 100644 --- a/src/libflac/private/fixed.h +++ b/src/libflac/private/fixed.h @@ -34,7 +34,7 @@ #define FLAC__PRIVATE__FIXED_H //#ifdef HAVE_CONFIG_H -#include +#include "../config.h" //#endif #include "cpu.h" diff --git a/src/libflac/private/float.h b/src/libflac/private/float.h index 2ead792..ec58eec 100644 --- a/src/libflac/private/float.h +++ b/src/libflac/private/float.h @@ -34,7 +34,7 @@ #define FLAC__PRIVATE__FLOAT_H //#ifdef HAVE_CONFIG_H -#include +#include "../config.h" //#endif #include "../FLAC/ordinals.h" diff --git a/src/libflac/private/lpc.h b/src/libflac/private/lpc.h index aeb8e62..b1e44dc 100644 --- a/src/libflac/private/lpc.h +++ b/src/libflac/private/lpc.h @@ -34,7 +34,7 @@ #define FLAC__PRIVATE__LPC_H //#ifdef HAVE_CONFIG_H -#include +#include "../config.h" //#endif #include "cpu.h" diff --git a/src/libflac/private/memory.h b/src/libflac/private/memory.h index 6a54ab2..ce9ae69 100644 --- a/src/libflac/private/memory.h +++ b/src/libflac/private/memory.h @@ -34,7 +34,7 @@ #define FLAC__PRIVATE__MEMORY_H //#ifdef HAVE_CONFIG_H -#include +#include "../config.h" //#endif #include /* for size_t */ diff --git a/src/libflac/private/window.h b/src/libflac/private/window.h index 0cee628..a3ab2f9 100644 --- a/src/libflac/private/window.h +++ b/src/libflac/private/window.h @@ -34,7 +34,7 @@ #define FLAC__PRIVATE__WINDOW_H //#ifdef HAVE_CONFIG_H -#include +#include "../config.h" //#endif #include "float.h" diff --git a/src/libflac/share/alloc.h b/src/libflac/share/alloc.h index c3dac5f..c3791d6 100644 --- a/src/libflac/share/alloc.h +++ b/src/libflac/share/alloc.h @@ -34,7 +34,7 @@ #define FLAC__SHARE__ALLOC_H //#ifdef HAVE_CONFIG_H -# include +# include "../config.h" //#endif /* WATCHOUT: for c++ you may have to #define __STDC_LIMIT_MACROS 1 real early