diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-gpio-buttons.c b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-gpio-buttons.c index df7416de1f..85ba33e50f 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-gpio-buttons.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-gpio-buttons.c @@ -10,6 +10,7 @@ */ #include "linux/init.h" +#include "linux/slab.h" #include #include "dev-gpio-buttons.h" diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-leds-gpio.c b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-leds-gpio.c index 7066ddc01b..0fb8c6db6a 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/dev-leds-gpio.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/dev-leds-gpio.c @@ -12,6 +12,7 @@ */ #include +#include #include #include "dev-leds-gpio.h" diff --git a/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c b/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c index b4f1662ae5..0c2d30ef76 100644 --- a/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c +++ b/target/linux/ar71xx/files/drivers/gpio/nxp_74hc153.c @@ -11,6 +11,7 @@ #include #include #include +#include #include #include