shithub: opus

Download patch

ref: db48088e9f075f581fb87f03b1f7c7b74787a2f6
parent: 254b5ee7b2e7c89aaddbf7a994fea0563842873f
author: Jean-Marc Valin <jmvalin@amazon.com>
date: Wed Jun 21 23:22:20 EDT 2023

Should fix some missing #include problems

--- a/dnn/nnet.h
+++ b/dnn/nnet.h
@@ -28,6 +28,7 @@
 #ifndef _NNET_H_
 #define _NNET_H_
 
+#include <stddef.h>
 #include "vec.h"
 #include "kiss99.h"
 
--- a/dnn/parse_lpcnet_weights.c
+++ b/dnn/parse_lpcnet_weights.c
@@ -29,6 +29,7 @@
 #endif
 
 #include <string.h>
+#include <stdlib.h>
 #include "nnet.h"
 
 #define SPARSE_BLOCK_SIZE 32
--- a/dnn/write_lpcnet_weights.c
+++ b/dnn/write_lpcnet_weights.c
@@ -30,6 +30,7 @@
 
 #include <stdio.h>
 #include <string.h>
+#include <stddef.h>
 #include "nnet.h"
 #include "common.h"
 
--