Hi, The build was broken with this error: In file included from net/ipv4/ipvs/ip_vs_rr.c:27: include/net/ip_vs.h:857: error: array type has incomplete element type make[3]: *** [net/ipv4/ipvs/ip_vs_rr.o] Error 1
This was due to missing include to the header file for ctl_path. This patch added #include <linux/sysctl.h> to ip_vs_.h to avoid it Regards, Rami Rosen Signed-off-by: Rami Rosen <[EMAIL PROTECTED]>
diff --git a/include/net/ip_vs.h b/include/net/ip_vs.h index 02ab7ca..56f3c94 100644 --- a/include/net/ip_vs.h +++ b/include/net/ip_vs.h @@ -9,6 +9,8 @@ #include <asm/types.h> /* For __uXX types */ #include <linux/types.h> /* For __beXX types in userland */ +#include <linux/sysctl.h> /* For ctl_path */ + #define IP_VS_VERSION_CODE 0x010201 #define NVERSION(version) \ (version >> 16) & 0xFF, \