From: Andrii Nakryiko Date: Wed, 2 Nov 2022 18:25:16 +0000 (-0700) Subject: net/ipv4: Fix linux/in.h header dependencies X-Git-Tag: baikal/aarch64/sdk6.1~2684^2~50^2~4 X-Git-Url: https://git.baikalelectronics.ru/sdk/?a=commitdiff_plain;h=45470a30a7a9513fafe43f13ec638af7335feeb6;p=kernel.git net/ipv4: Fix linux/in.h header dependencies __DECLARE_FLEX_ARRAY is defined in include/uapi/linux/stddef.h but doesn't seem to be explicitly included from include/uapi/linux/in.h, which breaks BPF selftests builds (once we sync linux/stddef.h into tools/include directory in the next patch). Fix this by explicitly including linux/stddef.h. Given this affects BPF CI and bpf tree, targeting this for bpf tree. Fixes: a6be9a6f8216 ("net/ipv4: Use __DECLARE_FLEX_ARRAY() helper") Signed-off-by: Andrii Nakryiko Signed-off-by: Daniel Borkmann Cc: Gustavo A. R. Silva Cc: Jakub Kicinski Link: https://lore.kernel.org/bpf/20221102182517.2675301-1-andrii@kernel.org --- diff --git a/include/uapi/linux/in.h b/include/uapi/linux/in.h index f243ce665f74f..07a4cb149305b 100644 --- a/include/uapi/linux/in.h +++ b/include/uapi/linux/in.h @@ -20,6 +20,7 @@ #define _UAPI_LINUX_IN_H #include +#include #include #include