Quellcode durchsuchen

headers, can: Add missing #include to <linux/can/bcm.h>

<linux/can/bcm.h> uses type canid_t, defined in <linux/can.h>.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Ben Hutchings vor 14 Jahren
Ursprung
Commit
767df1c717
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      include/linux/can/bcm.h

+ 1 - 0
include/linux/can/bcm.h

@@ -15,6 +15,7 @@
 #define CAN_BCM_H
 
 #include <linux/types.h>
+#include <linux/can.h>
 
 /**
  * struct bcm_msg_head - head of messages to/from the broadcast manager