From fc950fbd3e4a1bb53825576678e0e3828ac2e08e Mon Sep 17 00:00:00 2001 From: Nobuhiro Iwamatsu Date: Mon, 3 Apr 2017 01:42:26 +0900 Subject: [PATCH 1/2] Add config.h in sbc/sbc_primitives.h When we use "--enable-high-precision" option of configure, this does not work effectively. Because SBC_HIGH_PRECISION enabled by this option is not available in "sbc/sbc_primitives.h". This adds config.h to "sbc/sbc_primitives.h" to use SBC_HIGH_PRECISION. Signed-off-by: Nobuhiro Iwamatsu --- sbc/sbc_primitives.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sbc/sbc_primitives.h b/sbc/sbc_primitives.h index e01c957..b060484 100644 --- a/sbc/sbc_primitives.h +++ b/sbc/sbc_primitives.h @@ -27,6 +27,10 @@ #ifndef __SBC_PRIMITIVES_H #define __SBC_PRIMITIVES_H +#ifdef HAVE_CONFIG_H +#include +#endif + #define SCALE_OUT_BITS 15 #define SBC_X_BUFFER_SIZE 328 -- 2.28.0