]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
shared: add missing stddef.h include
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 3 Oct 2024 16:02:45 +0000 (17:02 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 9 Oct 2024 04:20:00 +0000 (23:20 -0500)
Required for size_t, reported by clang-tidy.

Fixes: 38943b20 ("shared: use size_t for strbuf")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/172
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
shared/strbuf.h

index 946896fbad48ad822121459b3115516be34625b4..8824afdcc347d121a4b3e2d37be4c290b77cb081 100644 (file)
@@ -1,6 +1,7 @@
 #pragma once
 
 #include <stdbool.h>
+#include <stddef.h>
 
 /*
  * Buffer abstract data type