Include the headers that "can/length.h" depends on. Fixes: bdd2e413192d ("can: dev: move length related code into seperate file") Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx> --- include/linux/can/length.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/can/length.h b/include/linux/can/length.h index 6995092b774e..69336549d24f 100644 --- a/include/linux/can/length.h +++ b/include/linux/can/length.h @@ -6,6 +6,9 @@ #ifndef _CAN_LENGTH_H #define _CAN_LENGTH_H +#include <linux/can.h> +#include <linux/can/netlink.h> + /* * Size of a Classical CAN Standard Frame * -- 2.39.2