--- a/dbus-proxy.c 2021-03-19 15:01:37.943385980 -0000 +++ b/dbus-proxy.c 2021-03-19 15:01:21.455562720 -0000 @@ -31,6 +31,16 @@ #include "flatpak-proxy.h" +/* taken from glibc unistd.h and fixes musl */ +#ifndef TEMP_FAILURE_RETRY +#define TEMP_FAILURE_RETRY(expression) \ + (__extension__ \ + ({ long int __result; \ + do __result = (long int) (expression); \ + while (__result == -1L && errno == EINTR); \ + __result; })) +#endif + static const char *argv0; static GList *proxies; static int sync_fd = -1;