diff mbox series

[FFmpeg-devel,3/6] lavu: add missing stddef.h includes for size_t.

Message ID 20201102131717.4959-3-anton@khirnov.net
State Accepted
Headers show
Series [FFmpeg-devel,1/6] tools/enum_options: fix build and add to Makefile | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished

Commit Message

Anton Khirnov Nov. 2, 2020, 1:17 p.m. UTC
---
 libavutil/hash.c    | 2 ++
 libavutil/hash.h    | 1 +
 libavutil/murmur3.c | 2 ++
 libavutil/murmur3.h | 1 +
 libavutil/ripemd.c  | 1 +
 libavutil/ripemd.h  | 1 +
 6 files changed, 8 insertions(+)

Comments

James Almer Nov. 2, 2020, 3:25 p.m. UTC | #1
On 11/2/2020 10:17 AM, Anton Khirnov wrote:
> ---
>  libavutil/hash.c    | 2 ++
>  libavutil/hash.h    | 1 +
>  libavutil/murmur3.c | 2 ++
>  libavutil/murmur3.h | 1 +
>  libavutil/ripemd.c  | 1 +
>  libavutil/ripemd.h  | 1 +
>  6 files changed, 8 insertions(+)
> 
> diff --git a/libavutil/hash.c b/libavutil/hash.c
> index 75edb6db78..d626c31181 100644
> --- a/libavutil/hash.c
> +++ b/libavutil/hash.c
> @@ -17,6 +17,8 @@
>   * License along with FFmpeg; if not, write to the Free Software
>   * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
>   */
> +
> +#include <stddef.h>
>  #include <stdint.h>
>  #include "hash.h"
>  
> diff --git a/libavutil/hash.h b/libavutil/hash.h
> index 7693e6bf0d..af4719e423 100644
> --- a/libavutil/hash.h
> +++ b/libavutil/hash.h
> @@ -27,6 +27,7 @@
>  #ifndef AVUTIL_HASH_H
>  #define AVUTIL_HASH_H
>  
> +#include <stddef.h>
>  #include <stdint.h>
>  
>  #include "version.h"
> diff --git a/libavutil/murmur3.c b/libavutil/murmur3.c
> index 7961752515..3e85c3c94f 100644
> --- a/libavutil/murmur3.c
> +++ b/libavutil/murmur3.c
> @@ -17,6 +17,8 @@
>   * License along with FFmpeg; if not, write to the Free Software
>   * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
>   */
> +
> +#include <stddef.h>
>  #include <stdint.h>
>  #include "mem.h"
>  #include "intreadwrite.h"
> diff --git a/libavutil/murmur3.h b/libavutil/murmur3.h
> index 1b09175c1e..b3b3a07de2 100644
> --- a/libavutil/murmur3.h
> +++ b/libavutil/murmur3.h
> @@ -27,6 +27,7 @@
>  #ifndef AVUTIL_MURMUR3_H
>  #define AVUTIL_MURMUR3_H
>  
> +#include <stddef.h>
>  #include <stdint.h>
>  
>  #include "version.h"
> diff --git a/libavutil/ripemd.c b/libavutil/ripemd.c
> index 4f1c4ea899..89d69cc23d 100644
> --- a/libavutil/ripemd.c
> +++ b/libavutil/ripemd.c
> @@ -19,6 +19,7 @@
>   * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
>   */
>  
> +#include <stddef.h>
>  #include <string.h>
>  
>  #include "attributes.h"
> diff --git a/libavutil/ripemd.h b/libavutil/ripemd.h
> index 0db6858ff3..921aa66684 100644
> --- a/libavutil/ripemd.h
> +++ b/libavutil/ripemd.h
> @@ -28,6 +28,7 @@
>  #ifndef AVUTIL_RIPEMD_H
>  #define AVUTIL_RIPEMD_H
>  
> +#include <stddef.h>
>  #include <stdint.h>
>  
>  #include "attributes.h"

Should be ok.
diff mbox series

Patch

diff --git a/libavutil/hash.c b/libavutil/hash.c
index 75edb6db78..d626c31181 100644
--- a/libavutil/hash.c
+++ b/libavutil/hash.c
@@ -17,6 +17,8 @@ 
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
+
+#include <stddef.h>
 #include <stdint.h>
 #include "hash.h"
 
diff --git a/libavutil/hash.h b/libavutil/hash.h
index 7693e6bf0d..af4719e423 100644
--- a/libavutil/hash.h
+++ b/libavutil/hash.h
@@ -27,6 +27,7 @@ 
 #ifndef AVUTIL_HASH_H
 #define AVUTIL_HASH_H
 
+#include <stddef.h>
 #include <stdint.h>
 
 #include "version.h"
diff --git a/libavutil/murmur3.c b/libavutil/murmur3.c
index 7961752515..3e85c3c94f 100644
--- a/libavutil/murmur3.c
+++ b/libavutil/murmur3.c
@@ -17,6 +17,8 @@ 
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
+
+#include <stddef.h>
 #include <stdint.h>
 #include "mem.h"
 #include "intreadwrite.h"
diff --git a/libavutil/murmur3.h b/libavutil/murmur3.h
index 1b09175c1e..b3b3a07de2 100644
--- a/libavutil/murmur3.h
+++ b/libavutil/murmur3.h
@@ -27,6 +27,7 @@ 
 #ifndef AVUTIL_MURMUR3_H
 #define AVUTIL_MURMUR3_H
 
+#include <stddef.h>
 #include <stdint.h>
 
 #include "version.h"
diff --git a/libavutil/ripemd.c b/libavutil/ripemd.c
index 4f1c4ea899..89d69cc23d 100644
--- a/libavutil/ripemd.c
+++ b/libavutil/ripemd.c
@@ -19,6 +19,7 @@ 
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#include <stddef.h>
 #include <string.h>
 
 #include "attributes.h"
diff --git a/libavutil/ripemd.h b/libavutil/ripemd.h
index 0db6858ff3..921aa66684 100644
--- a/libavutil/ripemd.h
+++ b/libavutil/ripemd.h
@@ -28,6 +28,7 @@ 
 #ifndef AVUTIL_RIPEMD_H
 #define AVUTIL_RIPEMD_H
 
+#include <stddef.h>
 #include <stdint.h>
 
 #include "attributes.h"