shithub: opus

Download patch

ref: 1f7c39d7c34533d97e8aee7f21a4b84c18bd1c19
parent: 159da408904ceb3f13756a1349e2f3f47a375222
author: Jan Buethe <jbuethe@amazon.de>
date: Tue Oct 25 09:28:25 EDT 2022

added config include to all new C files

--- a/dnn/dred_rdovae.c
+++ b/dnn/dred_rdovae.c
@@ -1,5 +1,9 @@
-#include "dred_rdovae.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
+
+#include "dred_rdovae.h"
 #include "dred_rdovae_enc.h"
 #include "dred_rdovae_dec.h"
 #include "dred_rdovae_stats_data.h"
--- a/dnn/dred_rdovae_dec.c
+++ b/dnn/dred_rdovae_dec.c
@@ -1,3 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+
 #include "dred_rdovae_dec.h"
 #include "dred_rdovae_constants.h"
 //#define DEBUG
--- a/dnn/dred_rdovae_enc.c
+++ b/dnn/dred_rdovae_enc.c
@@ -1,5 +1,10 @@
 #include <math.h>
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+
 #include "dred_rdovae_enc.h"
 
 
--