diff --git a/arch/risc-v/src/bl602/bl602_oneshot_lowerhalf.c b/arch/risc-v/src/bl602/bl602_oneshot_lowerhalf.c index 31775f453df66..bab862be6bd4e 100644 --- a/arch/risc-v/src/bl602/bl602_oneshot_lowerhalf.c +++ b/arch/risc-v/src/bl602/bl602_oneshot_lowerhalf.c @@ -29,6 +29,7 @@ #include #include +#include #include #include #include diff --git a/arch/risc-v/src/bl602/bl602_os_hal.c b/arch/risc-v/src/bl602/bl602_os_hal.c index 3f4f74134b40b..375140f3c8391 100644 --- a/arch/risc-v/src/bl602/bl602_os_hal.c +++ b/arch/risc-v/src/bl602/bl602_os_hal.c @@ -48,6 +48,7 @@ #include #include +#include #include #include #include diff --git a/arch/risc-v/src/common/espressif/Make.defs b/arch/risc-v/src/common/espressif/Make.defs index af6ae2f4d3f37..c538643a1e1bb 100644 --- a/arch/risc-v/src/common/espressif/Make.defs +++ b/arch/risc-v/src/common/espressif/Make.defs @@ -136,7 +136,7 @@ endif ESP_HAL_3RDPARTY_REPO = esp-hal-3rdparty ifndef ESP_HAL_3RDPARTY_VERSION - ESP_HAL_3RDPARTY_VERSION = ca869dd97ed2c01187b85b759c0d6edb27c12c21 + ESP_HAL_3RDPARTY_VERSION = e3899a2324c8e326db20f99f208e890fdd7a5b92 endif ifndef ESP_HAL_3RDPARTY_URL diff --git a/arch/risc-v/src/common/riscv_mtimer.c b/arch/risc-v/src/common/riscv_mtimer.c index b611c3dd99914..fd134425c987e 100644 --- a/arch/risc-v/src/common/riscv_mtimer.c +++ b/arch/risc-v/src/common/riscv_mtimer.c @@ -22,6 +22,7 @@ * Included Files ****************************************************************************/ +#include #include #include diff --git a/arch/risc-v/src/esp32c3-legacy/Make.defs b/arch/risc-v/src/esp32c3-legacy/Make.defs index a6dd8f193157e..9aea2122b50ef 100644 --- a/arch/risc-v/src/esp32c3-legacy/Make.defs +++ b/arch/risc-v/src/esp32c3-legacy/Make.defs @@ -239,7 +239,7 @@ endif ESP_HAL_3RDPARTY_REPO = esp-hal-3rdparty ifndef ESP_HAL_3RDPARTY_VERSION - ESP_HAL_3RDPARTY_VERSION = 51afbfd1a17e806fa6fd8227a18395c1bbecbad3 + ESP_HAL_3RDPARTY_VERSION = e3899a2324c8e326db20f99f208e890fdd7a5b92 endif ifndef ESP_HAL_3RDPARTY_URL diff --git a/arch/risc-v/src/esp32c3-legacy/esp32c3_efuse_lowerhalf.c b/arch/risc-v/src/esp32c3-legacy/esp32c3_efuse_lowerhalf.c index 0364e260d3296..210e46f03838e 100644 --- a/arch/risc-v/src/esp32c3-legacy/esp32c3_efuse_lowerhalf.c +++ b/arch/risc-v/src/esp32c3-legacy/esp32c3_efuse_lowerhalf.c @@ -25,6 +25,8 @@ #include #include #include + +#include #include #include diff --git a/arch/x86_64/src/intel64/intel64_oneshot.h b/arch/x86_64/src/intel64/intel64_oneshot.h index db4b0859aa418..37072457eaacd 100644 --- a/arch/x86_64/src/intel64/intel64_oneshot.h +++ b/arch/x86_64/src/intel64/intel64_oneshot.h @@ -28,6 +28,7 @@ #include #include +#include #include diff --git a/arch/xtensa/src/esp32/Make.defs b/arch/xtensa/src/esp32/Make.defs index 43990fcde0649..2980a85737758 100644 --- a/arch/xtensa/src/esp32/Make.defs +++ b/arch/xtensa/src/esp32/Make.defs @@ -216,7 +216,7 @@ endif ESP_HAL_3RDPARTY_REPO = esp-hal-3rdparty ifndef ESP_HAL_3RDPARTY_VERSION - ESP_HAL_3RDPARTY_VERSION = b4c723a119344b4b71d69819019d55637fb570fd + ESP_HAL_3RDPARTY_VERSION = e3899a2324c8e326db20f99f208e890fdd7a5b92 endif ifndef ESP_HAL_3RDPARTY_URL diff --git a/arch/xtensa/src/esp32/esp32_efuse_lowerhalf.c b/arch/xtensa/src/esp32/esp32_efuse_lowerhalf.c index 88730d844a6df..59127bc07149e 100644 --- a/arch/xtensa/src/esp32/esp32_efuse_lowerhalf.c +++ b/arch/xtensa/src/esp32/esp32_efuse_lowerhalf.c @@ -25,6 +25,8 @@ #include #include #include + +#include #include #include diff --git a/arch/xtensa/src/esp32s2/Make.defs b/arch/xtensa/src/esp32s2/Make.defs index 840ea0cdcfe1a..5328d62dec4b9 100644 --- a/arch/xtensa/src/esp32s2/Make.defs +++ b/arch/xtensa/src/esp32s2/Make.defs @@ -145,7 +145,7 @@ endif ESP_HAL_3RDPARTY_REPO = esp-hal-3rdparty ifndef ESP_HAL_3RDPARTY_VERSION - ESP_HAL_3RDPARTY_VERSION = b4c723a119344b4b71d69819019d55637fb570fd + ESP_HAL_3RDPARTY_VERSION = e3899a2324c8e326db20f99f208e890fdd7a5b92 endif ifndef ESP_HAL_3RDPARTY_URL diff --git a/arch/xtensa/src/esp32s3/Make.defs b/arch/xtensa/src/esp32s3/Make.defs index e9a461ebce0a6..4a9c9d342059e 100644 --- a/arch/xtensa/src/esp32s3/Make.defs +++ b/arch/xtensa/src/esp32s3/Make.defs @@ -218,7 +218,7 @@ endif ESP_HAL_3RDPARTY_REPO = esp-hal-3rdparty ifndef ESP_HAL_3RDPARTY_VERSION - ESP_HAL_3RDPARTY_VERSION = b4c723a119344b4b71d69819019d55637fb570fd + ESP_HAL_3RDPARTY_VERSION = e3899a2324c8e326db20f99f208e890fdd7a5b92 endif ifndef ESP_HAL_3RDPARTY_URL diff --git a/binfmt/binfmt_unloadmodule.c b/binfmt/binfmt_unloadmodule.c index c8e51adb9435e..50eaf4294b1f2 100644 --- a/binfmt/binfmt_unloadmodule.c +++ b/binfmt/binfmt_unloadmodule.c @@ -32,6 +32,7 @@ #include #include +#include #include #include #include diff --git a/boards/arm/imxrt/imxrt1050-evk/kernel/imxrt_userspace.c b/boards/arm/imxrt/imxrt1050-evk/kernel/imxrt_userspace.c index 8f89166dd303f..d94e61da8901f 100644 --- a/boards/arm/imxrt/imxrt1050-evk/kernel/imxrt_userspace.c +++ b/boards/arm/imxrt/imxrt1050-evk/kernel/imxrt_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/imxrt/imxrt1060-evk/kernel/imxrt_userspace.c b/boards/arm/imxrt/imxrt1060-evk/kernel/imxrt_userspace.c index 83407a4053da5..142051853c4d0 100644 --- a/boards/arm/imxrt/imxrt1060-evk/kernel/imxrt_userspace.c +++ b/boards/arm/imxrt/imxrt1060-evk/kernel/imxrt_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/imxrt/imxrt1064-evk/kernel/imxrt_userspace.c b/boards/arm/imxrt/imxrt1064-evk/kernel/imxrt_userspace.c index 4193f03be0ba3..fb069feeca429 100644 --- a/boards/arm/imxrt/imxrt1064-evk/kernel/imxrt_userspace.c +++ b/boards/arm/imxrt/imxrt1064-evk/kernel/imxrt_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/imxrt/imxrt1170-evk/kernel/imxrt_userspace.c b/boards/arm/imxrt/imxrt1170-evk/kernel/imxrt_userspace.c index 137d27c490d23..7a26aad8a5ae7 100644 --- a/boards/arm/imxrt/imxrt1170-evk/kernel/imxrt_userspace.c +++ b/boards/arm/imxrt/imxrt1170-evk/kernel/imxrt_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/imxrt/teensy-4.x/kernel/imxrt_userspace.c b/boards/arm/imxrt/teensy-4.x/kernel/imxrt_userspace.c index ebae176799af5..2a895df2e6119 100644 --- a/boards/arm/imxrt/teensy-4.x/kernel/imxrt_userspace.c +++ b/boards/arm/imxrt/teensy-4.x/kernel/imxrt_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/lpc17xx_40xx/lpc4088-devkit/kernel/lpc17_40_userspace.c b/boards/arm/lpc17xx_40xx/lpc4088-devkit/kernel/lpc17_40_userspace.c index 32c9a6cb1a579..0214b2b904820 100644 --- a/boards/arm/lpc17xx_40xx/lpc4088-devkit/kernel/lpc17_40_userspace.c +++ b/boards/arm/lpc17xx_40xx/lpc4088-devkit/kernel/lpc17_40_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/lpc17xx_40xx/lpc4088-quickstart/kernel/lpc17_40_userspace.c b/boards/arm/lpc17xx_40xx/lpc4088-quickstart/kernel/lpc17_40_userspace.c index cc7dc0496d259..f8bbf062cf5d2 100644 --- a/boards/arm/lpc17xx_40xx/lpc4088-quickstart/kernel/lpc17_40_userspace.c +++ b/boards/arm/lpc17xx_40xx/lpc4088-quickstart/kernel/lpc17_40_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/lpc17xx_40xx/open1788/kernel/lpc17_40_userspace.c b/boards/arm/lpc17xx_40xx/open1788/kernel/lpc17_40_userspace.c index 5232a63fe5c2a..155659881ce9c 100644 --- a/boards/arm/lpc17xx_40xx/open1788/kernel/lpc17_40_userspace.c +++ b/boards/arm/lpc17xx_40xx/open1788/kernel/lpc17_40_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/lpc17xx_40xx/pnev5180b/kernel/lpc17_40_userspace.c b/boards/arm/lpc17xx_40xx/pnev5180b/kernel/lpc17_40_userspace.c index e540c3b5dccb5..0caf83347c41d 100644 --- a/boards/arm/lpc17xx_40xx/pnev5180b/kernel/lpc17_40_userspace.c +++ b/boards/arm/lpc17xx_40xx/pnev5180b/kernel/lpc17_40_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/mps/mps2-an500/kernel/mps_userspace.c b/boards/arm/mps/mps2-an500/kernel/mps_userspace.c index f4de8d9c1dd50..715c2c06a6ef8 100644 --- a/boards/arm/mps/mps2-an500/kernel/mps_userspace.c +++ b/boards/arm/mps/mps2-an500/kernel/mps_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/s32k3xx/mr-canhubk3/kernel/s32k3xx_userspace.c b/boards/arm/s32k3xx/mr-canhubk3/kernel/s32k3xx_userspace.c index 5979f18a867bb..0d1132010940b 100644 --- a/boards/arm/s32k3xx/mr-canhubk3/kernel/s32k3xx_userspace.c +++ b/boards/arm/s32k3xx/mr-canhubk3/kernel/s32k3xx_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/sam34/sam3u-ek/kernel/sam_userspace.c b/boards/arm/sam34/sam3u-ek/kernel/sam_userspace.c index e6176e2b20665..46ae5fa617508 100644 --- a/boards/arm/sam34/sam3u-ek/kernel/sam_userspace.c +++ b/boards/arm/sam34/sam3u-ek/kernel/sam_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/samv7/same70-qmtech/kernel/sam_userspace.c b/boards/arm/samv7/same70-qmtech/kernel/sam_userspace.c index 24e8f62b007e6..d4960e2abe54d 100644 --- a/boards/arm/samv7/same70-qmtech/kernel/sam_userspace.c +++ b/boards/arm/samv7/same70-qmtech/kernel/sam_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/samv7/same70-xplained/kernel/sam_userspace.c b/boards/arm/samv7/same70-xplained/kernel/sam_userspace.c index 3d9ec313edd9a..9b8652d55fb0b 100644 --- a/boards/arm/samv7/same70-xplained/kernel/sam_userspace.c +++ b/boards/arm/samv7/same70-xplained/kernel/sam_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/samv7/samv71-xult/kernel/sam_userspace.c b/boards/arm/samv7/samv71-xult/kernel/sam_userspace.c index 58af2e3c04aba..8d77f415c8aca 100644 --- a/boards/arm/samv7/samv71-xult/kernel/sam_userspace.c +++ b/boards/arm/samv7/samv71-xult/kernel/sam_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/stm32/mikroe-stm32f4/kernel/stm32_userspace.c b/boards/arm/stm32/mikroe-stm32f4/kernel/stm32_userspace.c index 9fa444c201d67..9526679013d94 100644 --- a/boards/arm/stm32/mikroe-stm32f4/kernel/stm32_userspace.c +++ b/boards/arm/stm32/mikroe-stm32f4/kernel/stm32_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/boards/arm/stm32/stm3240g-eval/kernel/stm32_userspace.c b/boards/arm/stm32/stm3240g-eval/kernel/stm32_userspace.c index 95772dfab76d7..b4610bbb35376 100644 --- a/boards/arm/stm32/stm3240g-eval/kernel/stm32_userspace.c +++ b/boards/arm/stm32/stm3240g-eval/kernel/stm32_userspace.c @@ -26,7 +26,7 @@ #include -#include +#include #include #include diff --git a/crypto/cryptosoft.c b/crypto/cryptosoft.c index f9aa1e53472bf..61fa4b34aaeb0 100644 --- a/crypto/cryptosoft.c +++ b/crypto/cryptosoft.c @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/audio/audio_dma.c b/drivers/audio/audio_dma.c index 4a03d830432c1..ce308e8935dab 100644 --- a/drivers/audio/audio_dma.c +++ b/drivers/audio/audio_dma.c @@ -23,6 +23,8 @@ ****************************************************************************/ #include +#include +#include #include #include #include diff --git a/drivers/input/goldfish_events.c b/drivers/input/goldfish_events.c index f7885a5bf1da0..f52503d5c82be 100644 --- a/drivers/input/goldfish_events.c +++ b/drivers/input/goldfish_events.c @@ -24,6 +24,7 @@ #include +#include #include #include #include diff --git a/drivers/input/mouse_upper.c b/drivers/input/mouse_upper.c index 22caee8702b75..dc1b61baef858 100644 --- a/drivers/input/mouse_upper.c +++ b/drivers/input/mouse_upper.c @@ -29,6 +29,7 @@ #include #include +#include #include #include #include diff --git a/drivers/lcd/pcf8574_lcd_backpack.c b/drivers/lcd/pcf8574_lcd_backpack.c index 62f31a18fab4d..254648a7c28c9 100644 --- a/drivers/lcd/pcf8574_lcd_backpack.c +++ b/drivers/lcd/pcf8574_lcd_backpack.c @@ -29,6 +29,7 @@ #include #include +#include #include #include #include diff --git a/drivers/misc/goldfish_pipe.c b/drivers/misc/goldfish_pipe.c index 7482b011a131c..5070c4bb388a0 100644 --- a/drivers/misc/goldfish_pipe.c +++ b/drivers/misc/goldfish_pipe.c @@ -43,6 +43,7 @@ #include #include +#include #include #include #include diff --git a/drivers/misc/mkrd.c b/drivers/misc/mkrd.c index d80cfd5970723..bf2f69ba30710 100644 --- a/drivers/misc/mkrd.c +++ b/drivers/misc/mkrd.c @@ -24,6 +24,7 @@ #include +#include #include #include #include diff --git a/drivers/misc/optee.c b/drivers/misc/optee.c index b934a2097d4d9..6eb13d43b51c4 100644 --- a/drivers/misc/optee.c +++ b/drivers/misc/optee.c @@ -27,6 +27,8 @@ #include #include #include +#include +#include #include #include #include diff --git a/drivers/mtd/gd25.c b/drivers/mtd/gd25.c index c19646fb2f4cd..61248615f6964 100644 --- a/drivers/mtd/gd25.c +++ b/drivers/mtd/gd25.c @@ -35,6 +35,7 @@ #include #include +#include #include #include #include diff --git a/drivers/mtd/mtd_rwbuffer.c b/drivers/mtd/mtd_rwbuffer.c index 7b76b605adb2b..88e865e915ffe 100644 --- a/drivers/mtd/mtd_rwbuffer.c +++ b/drivers/mtd/mtd_rwbuffer.c @@ -41,6 +41,7 @@ #include #include +#include #include #include diff --git a/drivers/mtd/rammtd.c b/drivers/mtd/rammtd.c index 264b340fc1c77..faae742a2344d 100644 --- a/drivers/mtd/rammtd.c +++ b/drivers/mtd/rammtd.c @@ -31,6 +31,7 @@ #include #include +#include #include #include #include diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index c0b9abaeced72..54da2c6cb0fa5 100644 --- a/drivers/net/e1000.c +++ b/drivers/net/e1000.c @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/drivers/net/igc.c b/drivers/net/igc.c index 86df007952459..1dbaec901ef56 100644 --- a/drivers/net/igc.c +++ b/drivers/net/igc.c @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/drivers/pci/pci_ivshmem.c b/drivers/pci/pci_ivshmem.c index e2d04d546eea2..2a0d7eb84e002 100644 --- a/drivers/pci/pci_ivshmem.c +++ b/drivers/pci/pci_ivshmem.c @@ -29,6 +29,7 @@ #include #include +#include #include #include #include diff --git a/drivers/pipes/pipe_common.c b/drivers/pipes/pipe_common.c index fd9a085b34775..f84b39711ef4f 100644 --- a/drivers/pipes/pipe_common.c +++ b/drivers/pipes/pipe_common.c @@ -38,6 +38,7 @@ #include #include +#include #include #include #include diff --git a/drivers/power/battery/goldfish_battery.c b/drivers/power/battery/goldfish_battery.c index fbec7bba24c4f..3b51ad9f7a4bb 100644 --- a/drivers/power/battery/goldfish_battery.c +++ b/drivers/power/battery/goldfish_battery.c @@ -25,8 +25,10 @@ #include #include #include -#include + +#include #include +#include #include #include diff --git a/drivers/rc/lirc_dev.c b/drivers/rc/lirc_dev.c index 1aae588932571..994f65349d297 100644 --- a/drivers/rc/lirc_dev.c +++ b/drivers/rc/lirc_dev.c @@ -32,6 +32,7 @@ #include #include +#include #include #include #include diff --git a/drivers/sensors/bme680_uorb.c b/drivers/sensors/bme680_uorb.c index 14d6dcc00df71..3879d289078b8 100644 --- a/drivers/sensors/bme680_uorb.c +++ b/drivers/sensors/bme680_uorb.c @@ -32,6 +32,7 @@ #include #include +#include #include #include #include diff --git a/drivers/sensors/bmp280_uorb.c b/drivers/sensors/bmp280_uorb.c index 8685e183c8eaa..1543a9e01a119 100644 --- a/drivers/sensors/bmp280_uorb.c +++ b/drivers/sensors/bmp280_uorb.c @@ -30,6 +30,7 @@ #include #include +#include #include #include #include diff --git a/drivers/sensors/ms56xx_uorb.c b/drivers/sensors/ms56xx_uorb.c index e93f9b7608fb0..a975dd24d178f 100644 --- a/drivers/sensors/ms56xx_uorb.c +++ b/drivers/sensors/ms56xx_uorb.c @@ -31,6 +31,7 @@ #include #include +#include #include #include #include diff --git a/drivers/serial/uart_16550.c b/drivers/serial/uart_16550.c index 1547551815d45..6adff69fcc8d8 100644 --- a/drivers/serial/uart_16550.c +++ b/drivers/serial/uart_16550.c @@ -35,6 +35,7 @@ #include #include +#include #include #include #include diff --git a/drivers/serial/uart_bth4.c b/drivers/serial/uart_bth4.c index 45b2098ea035d..5c0b1b22be5be 100644 --- a/drivers/serial/uart_bth4.c +++ b/drivers/serial/uart_bth4.c @@ -22,6 +22,7 @@ * Included Files ****************************************************************************/ +#include #include #include #include diff --git a/drivers/timers/pl031.c b/drivers/timers/pl031.c index 58c58d8bb5e18..e2414540c5dad 100644 --- a/drivers/timers/pl031.c +++ b/drivers/timers/pl031.c @@ -24,9 +24,12 @@ #include +#include + +#include +#include #include #include -#include /**************************************************************************** * Pre-processor Definitions diff --git a/drivers/usbdev/usbdev_fs.c b/drivers/usbdev/usbdev_fs.c index c6b334213eda0..99646cab598de 100644 --- a/drivers/usbdev/usbdev_fs.c +++ b/drivers/usbdev/usbdev_fs.c @@ -29,6 +29,7 @@ #include #include +#include #include #include #include diff --git a/drivers/video/fb.c b/drivers/video/fb.c index d17c36eafefe6..94c63cb17112e 100644 --- a/drivers/video/fb.c +++ b/drivers/video/fb.c @@ -35,6 +35,7 @@ #include #include +#include #include #include #include diff --git a/drivers/video/mipidsi/mipi_dsi_host.c b/drivers/video/mipidsi/mipi_dsi_host.c index 547398852c13f..b443a1560f806 100644 --- a/drivers/video/mipidsi/mipi_dsi_host.c +++ b/drivers/video/mipidsi/mipi_dsi_host.c @@ -24,6 +24,8 @@ #include +#include +#include #include #include diff --git a/drivers/video/v4l2_m2m.c b/drivers/video/v4l2_m2m.c index f08f61cadf8c1..951cc4ca4e7e1 100644 --- a/drivers/video/v4l2_m2m.c +++ b/drivers/video/v4l2_m2m.c @@ -27,6 +27,7 @@ #include #include +#include #include #include diff --git a/drivers/virtio/virtio-mmio.c b/drivers/virtio/virtio-mmio.c index c5fb423f2808e..efa62e13fdb04 100644 --- a/drivers/virtio/virtio-mmio.c +++ b/drivers/virtio/virtio-mmio.c @@ -29,6 +29,7 @@ #include #include +#include #include #include diff --git a/drivers/virtio/virtio-pci.h b/drivers/virtio/virtio-pci.h index 67334f7b5e9a3..70d3c544e25f1 100644 --- a/drivers/virtio/virtio-pci.h +++ b/drivers/virtio/virtio-pci.h @@ -29,6 +29,7 @@ #ifdef CONFIG_DRIVERS_VIRTIO_PCI +#include #include #include #include diff --git a/drivers/wireless/bluetooth/bt_bridge.c b/drivers/wireless/bluetooth/bt_bridge.c index 6d11a6c0fcb28..c694d4bf14954 100644 --- a/drivers/wireless/bluetooth/bt_bridge.c +++ b/drivers/wireless/bluetooth/bt_bridge.c @@ -25,6 +25,7 @@ #include #include +#include #include #include #include diff --git a/fs/fs_heap.c b/fs/fs_heap.c index faacb034d6379..cf956b8d0185e 100644 --- a/fs/fs_heap.c +++ b/fs/fs_heap.c @@ -22,6 +22,8 @@ * Included Files ****************************************************************************/ +#include + #include "fs_heap.h" #if defined(CONFIG_FS_HEAPSIZE) && CONFIG_FS_HEAPSIZE > 0 diff --git a/fs/mmap/fs_munmap.c b/fs/mmap/fs_munmap.c index 4d8b68bcd3de8..e07fdf4469c69 100644 --- a/fs/mmap/fs_munmap.c +++ b/fs/mmap/fs_munmap.c @@ -33,6 +33,7 @@ #include #include +#include #include #include "inode/inode.h" diff --git a/fs/procfs/fs_procfscritmon.c b/fs/procfs/fs_procfscritmon.c index 089738f5eae9e..741706797dd4a 100644 --- a/fs/procfs/fs_procfscritmon.c +++ b/fs/procfs/fs_procfscritmon.c @@ -42,6 +42,7 @@ #include #include #include +#include #include "fs_heap.h" diff --git a/fs/procfs/fs_procfsproc.c b/fs/procfs/fs_procfsproc.c index d1e2fd05285d1..f5dcabdc1151e 100644 --- a/fs/procfs/fs_procfsproc.c +++ b/fs/procfs/fs_procfsproc.c @@ -44,6 +44,7 @@ # include #endif +#include #include #include #include diff --git a/fs/procfs/fs_procfstcbinfo.c b/fs/procfs/fs_procfstcbinfo.c index 23cc918a3d7ff..e3253582733c6 100644 --- a/fs/procfs/fs_procfstcbinfo.c +++ b/fs/procfs/fs_procfstcbinfo.c @@ -36,6 +36,7 @@ #include #include +#include #include #include #include diff --git a/fs/shm/shmfs.c b/fs/shm/shmfs.c index 116a24caf281e..0903750fd5ee2 100644 --- a/fs/shm/shmfs.c +++ b/fs/shm/shmfs.c @@ -26,12 +26,9 @@ #include #include - -#if defined (CONFIG_BUILD_KERNEL) #include #include #include -#endif #include "shm/shmfs.h" #include "inode/inode.h" diff --git a/fs/tmpfs/fs_tmpfs.c b/fs/tmpfs/fs_tmpfs.c index decc697bcd060..dfb675a3bee19 100644 --- a/fs/tmpfs/fs_tmpfs.c +++ b/fs/tmpfs/fs_tmpfs.c @@ -33,6 +33,7 @@ #include #include +#include #include #include #include diff --git a/fs/vfs/fs_fstat.c b/fs/vfs/fs_fstat.c index 8e2099bedff5e..4fe8791223f55 100644 --- a/fs/vfs/fs_fstat.c +++ b/fs/vfs/fs_fstat.c @@ -32,6 +32,7 @@ #include #include +#include #include "inode/inode.h" /**************************************************************************** diff --git a/fs/vfs/fs_open.c b/fs/vfs/fs_open.c index 5dee0ee50219a..16644c893e782 100644 --- a/fs/vfs/fs_open.c +++ b/fs/vfs/fs_open.c @@ -33,6 +33,7 @@ #include #include +#include #include #include diff --git a/fs/vfs/fs_pseudofile.c b/fs/vfs/fs_pseudofile.c index a430b6dd2580f..1cfe0a9cf4705 100644 --- a/fs/vfs/fs_pseudofile.c +++ b/fs/vfs/fs_pseudofile.c @@ -31,6 +31,7 @@ #include #include +#include #include #include #include diff --git a/fs/vfs/fs_sendfile.c b/fs/vfs/fs_sendfile.c index ed283a7416a17..75eb1fe666671 100644 --- a/fs/vfs/fs_sendfile.c +++ b/fs/vfs/fs_sendfile.c @@ -29,6 +29,7 @@ #include #include +#include #include #include #include "fs_heap.h" diff --git a/fs/vfs/fs_timerfd.c b/fs/vfs/fs_timerfd.c index 42a5786208a91..f5252caf19a6e 100644 --- a/fs/vfs/fs_timerfd.c +++ b/fs/vfs/fs_timerfd.c @@ -31,6 +31,7 @@ #include +#include #include #include diff --git a/include/nuttx/kmalloc.h b/include/nuttx/kmalloc.h index 2eefa61c79184..0aca383d4ed61 100644 --- a/include/nuttx/kmalloc.h +++ b/include/nuttx/kmalloc.h @@ -34,7 +34,10 @@ #include #include -#include + +#ifdef CONFIG_MM_KERNEL_HEAP +#include +#endif /**************************************************************************** * Public Types diff --git a/include/nuttx/net/snoop.h b/include/nuttx/net/snoop.h index d579c126856b1..69d0025ff5fc8 100644 --- a/include/nuttx/net/snoop.h +++ b/include/nuttx/net/snoop.h @@ -29,6 +29,7 @@ #include +#include #include #include diff --git a/include/nuttx/notifier.h b/include/nuttx/notifier.h index eb67b37809056..87ebdb78abc5e 100644 --- a/include/nuttx/notifier.h +++ b/include/nuttx/notifier.h @@ -30,6 +30,7 @@ #include #include #include +#include #include #include diff --git a/include/nuttx/pci/pci_ivshmem.h b/include/nuttx/pci/pci_ivshmem.h index 07251a4c455f3..fad7a54a16abe 100644 --- a/include/nuttx/pci/pci_ivshmem.h +++ b/include/nuttx/pci/pci_ivshmem.h @@ -31,6 +31,7 @@ #ifdef CONFIG_PCI_IVSHMEM +#include #include /**************************************************************************** diff --git a/include/nuttx/userspace.h b/include/nuttx/userspace.h index 59285ac9605dc..2166c89e680e8 100644 --- a/include/nuttx/userspace.h +++ b/include/nuttx/userspace.h @@ -34,8 +34,6 @@ #include #include -#include - #ifdef CONFIG_BUILD_PROTECTED /**************************************************************************** diff --git a/include/sys/socket.h b/include/sys/socket.h index fc604bde20959..3d5cf1fee1758 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -389,7 +389,7 @@ struct ucred ****************************************************************************/ static inline FAR struct cmsghdr *__cmsg_nxthdr(FAR void *__ctl, - unsigned int __size, + unsigned long __size, FAR struct cmsghdr *__cmsg) { size_t len = CMSG_ALIGN(__cmsg->cmsg_len); diff --git a/include/syslog.h b/include/syslog.h index 37e4487c2fb5b..66936e034d7cb 100644 --- a/include/syslog.h +++ b/include/syslog.h @@ -29,6 +29,7 @@ #include #include + #ifdef CONFIG_SYSLOG_TO_SCHED_NOTE #include #endif diff --git a/libs/libc/misc/lib_cxx_initialize.c b/libs/libc/misc/lib_cxx_initialize.c index 0d7aaaaa080ba..4db113fcd10fd 100644 --- a/libs/libc/misc/lib_cxx_initialize.c +++ b/libs/libc/misc/lib_cxx_initialize.c @@ -25,6 +25,7 @@ ****************************************************************************/ #include +#include #include #include diff --git a/libs/libc/modlib/modlib_bind.c b/libs/libc/modlib/modlib_bind.c index 8ae64a71382c5..938bd5d611f56 100644 --- a/libs/libc/modlib/modlib_bind.c +++ b/libs/libc/modlib/modlib_bind.c @@ -32,6 +32,7 @@ #include #include +#include #include #include diff --git a/libs/libc/modlib/modlib_load.c b/libs/libc/modlib/modlib_load.c index cb3faa7b1eb0f..98e7690c82073 100644 --- a/libs/libc/modlib/modlib_load.c +++ b/libs/libc/modlib/modlib_load.c @@ -38,6 +38,7 @@ #include #include +#include #include #include diff --git a/libs/libc/modlib/modlib_unload.c b/libs/libc/modlib/modlib_unload.c index dd1c913c936f9..252390b0306dd 100644 --- a/libs/libc/modlib/modlib_unload.c +++ b/libs/libc/modlib/modlib_unload.c @@ -29,6 +29,7 @@ #include #include +#include #include #include "libc.h" diff --git a/libs/libc/stdio/lib_freopen.c b/libs/libc/stdio/lib_freopen.c index cefb5660e20be..2297bfbdc06fd 100644 --- a/libs/libc/stdio/lib_freopen.c +++ b/libs/libc/stdio/lib_freopen.c @@ -29,6 +29,7 @@ #include #include #include +#include #include "libc.h" diff --git a/libs/libc/time/lib_localtime.c b/libs/libc/time/lib_localtime.c index 8be9d17258be4..8dd6f5f3d277e 100644 --- a/libs/libc/time/lib_localtime.c +++ b/libs/libc/time/lib_localtime.c @@ -53,7 +53,7 @@ #include -#include +#include #include #include #include diff --git a/mm/umm_heap/umm_calloc.c b/mm/umm_heap/umm_calloc.c index 3c16fa56dbd72..7c782c979090d 100644 --- a/mm/umm_heap/umm_calloc.c +++ b/mm/umm_heap/umm_calloc.c @@ -26,6 +26,7 @@ #include +#include #include #include diff --git a/mm/umm_heap/umm_heap.h b/mm/umm_heap/umm_heap.h index 2e23941e8de9b..c2b5de12c18d6 100644 --- a/mm/umm_heap/umm_heap.h +++ b/mm/umm_heap/umm_heap.h @@ -29,6 +29,7 @@ #include +#include #include /**************************************************************************** diff --git a/mm/umm_heap/umm_initialize.c b/mm/umm_heap/umm_initialize.c index 9ddd8f8933930..f38db4a852c20 100644 --- a/mm/umm_heap/umm_initialize.c +++ b/mm/umm_heap/umm_initialize.c @@ -28,6 +28,7 @@ #include +#include #include #include "umm_heap/umm_heap.h" diff --git a/mm/umm_heap/umm_sbrk.c b/mm/umm_heap/umm_sbrk.c index 351e0e7761326..5d338b5f43177 100644 --- a/mm/umm_heap/umm_sbrk.c +++ b/mm/umm_heap/umm_sbrk.c @@ -32,6 +32,7 @@ #include #include +#include #include #include "umm_heap/umm_heap.h" diff --git a/net/local/local_conn.c b/net/local/local_conn.c index 165dc12a3feb2..7635bc932ad2a 100644 --- a/net/local/local_conn.c +++ b/net/local/local_conn.c @@ -32,6 +32,7 @@ #include #include +#include #include #include diff --git a/net/netlink/netlink_sockif.c b/net/netlink/netlink_sockif.c index f5d6b112dd659..5ce00c7586174 100644 --- a/net/netlink/netlink_sockif.c +++ b/net/netlink/netlink_sockif.c @@ -36,6 +36,7 @@ #include #include +#include #include #include #include diff --git a/net/socket/socket.h b/net/socket/socket.h index 89f15284b75f3..d05c66c83bec9 100644 --- a/net/socket/socket.h +++ b/net/socket/socket.h @@ -34,6 +34,7 @@ #include #include +#include #include #include diff --git a/net/socket/socketpair.c b/net/socket/socketpair.c index 59824630e889f..57ec6d42163d9 100644 --- a/net/socket/socketpair.c +++ b/net/socket/socketpair.c @@ -33,6 +33,7 @@ #include #include +#include #include #include diff --git a/net/utils/net_snoop.c b/net/utils/net_snoop.c index 38c16c9ff43da..dd234c6a19f14 100644 --- a/net/utils/net_snoop.c +++ b/net/utils/net_snoop.c @@ -35,6 +35,7 @@ #include #include +#include #include /**************************************************************************** diff --git a/sched/misc/reboot_notifier.c b/sched/misc/reboot_notifier.c index 9f77a0088d3b4..e1f2cfab46d71 100644 --- a/sched/misc/reboot_notifier.c +++ b/sched/misc/reboot_notifier.c @@ -25,6 +25,7 @@ ****************************************************************************/ #include +#include #include #include diff --git a/sched/signal/sig_findaction.c b/sched/signal/sig_findaction.c index 42fa092ed8c65..fc519232f7eee 100644 --- a/sched/signal/sig_findaction.c +++ b/sched/signal/sig_findaction.c @@ -26,7 +26,9 @@ #include +#include #include + #include "signal/signal.h" /**************************************************************************** diff --git a/sched/signal/signal.h b/sched/signal/signal.h index 7fef91d116d4c..c43c793c4aa79 100644 --- a/sched/signal/signal.h +++ b/sched/signal/signal.h @@ -33,6 +33,7 @@ #include #include +#include #include #include diff --git a/sched/wqueue/kwork_notifier.c b/sched/wqueue/kwork_notifier.c index 37bb6d16f10c5..f915cfa3e7267 100644 --- a/sched/wqueue/kwork_notifier.c +++ b/sched/wqueue/kwork_notifier.c @@ -34,6 +34,7 @@ #include #include +#include #include #include diff --git a/wireless/ieee802154/ieee802154_primitive.c b/wireless/ieee802154/ieee802154_primitive.c index dd23265424fb9..f718928aea9df 100644 --- a/wireless/ieee802154/ieee802154_primitive.c +++ b/wireless/ieee802154/ieee802154_primitive.c @@ -31,6 +31,7 @@ #include #include +#include #include #include