From https://git.alpinelinux.org/aports/tree/community/procps-compat/musl-fixes.patch?id=781a465d3d41af56a6e4bf9d52b7273c87899e25 --- a/w.c +++ b/w.c @@ -55,11 +55,7 @@ #include #include #include -#ifdef HAVE_UTMPX_H -# include -#else -# include -#endif +#include #include static int ignoreuser = 0; /* for '-u' */ --- a/proc/escape.c +++ b/proc/escape.c @@ -21,6 +21,7 @@ #include #include #include +#include #include "procps.h" #include "escape.h" #include "readproc.h"