#include <sys/socket.h>
#include <sys/un.h>
#include <stddef.h>
-#include <sys/poll.h>
+#include <poll.h>
#include <sys/inotify.h>
#include <unistd.h>
#include <getopt.h>
_cleanup_free_ char *p = NULL;
if (!path_is_absolute(path))
- path = strappenda("/dev/", path);
+ path = strjoina("/dev/", path);
r = lstat(path, &st);
if (r < 0)