Fix building with clang-16, as lot of functions from string.h (including memset) couldn't be found. Resulting in error: call to undeclared library function memset type error. Bug: https://bugs.gentoo.org/898550 --- a/port-helper/port-helper.c +++ b/port-helper/port-helper.c @@ -13,6 +13,7 @@ for read and write, and the console is functional. #include #include #include +#include #include #include #include --- a/uml_switch/port.c +++ b/uml_switch/port.c @@ -1,6 +1,7 @@ #include #include #include +#include #include #include #include --- a/uml_switch/uml_switch.c +++ b/uml_switch/uml_switch.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include #include --- a/watchdog/uml_watchdog.c +++ b/watchdog/uml_watchdog.c @@ -2,6 +2,7 @@ #include #include #include +#include #include #include #include