--- src/devices/nm-device.c.orig 2019-12-17 08:59:49.000000000 +0100 +++ src/devices/nm-device.c 2020-01-06 17:29:08.678242168 +0100 @@ -17,7 +17,11 @@ #include #include #include +#if defined(__GLIBC__) #include +#else +#include +#endif #include #include --- src/nm-manager.c.orig 2020-01-06 17:29:08.682242177 +0100 +++ src/nm-manager.c 2020-01-06 17:30:50.378482034 +0100 @@ -15,6 +15,7 @@ #include #include #include +#include #include "nm-glib-aux/nm-c-list.h" --- src/platform/nm-linux-platform.c.orig 2019-12-17 08:59:49.000000000 +0100 +++ src/platform/nm-linux-platform.c 2020-01-06 17:29:08.686242186 +0100 @@ -6,6 +6,7 @@ #include "nm-default.h" #include "nm-linux-platform.h" +#include "wpan/nm-wpan-utils.h" #include #include @@ -14,7 +15,11 @@ #include #include #include +#if defined(__GLIBC__) #include +#else +#include +#endif #include #include #include @@ -44,7 +49,6 @@ #include "nm-platform-private.h" #include "wifi/nm-wifi-utils.h" #include "wifi/nm-wifi-utils-wext.h" -#include "wpan/nm-wpan-utils.h" #include "nm-glib-aux/nm-io-utils.h" #include "nm-udev-aux/nm-udev-utils.h"