#include <assert.h>
#include <common/compat/time.h>
#include <common/time.h>
-#include <errno.h>
#include <fcntl.h>
#include <poll.h>
#include <stdbool.h>
#include <sys/types.h>
#include <unistd.h>
+#include <common/compat/errno.h>
+
#include "utils.h"
static inline