portability: replace signalfd with self-pipe

This commit is contained in:
Raphael Robatsch 2021-11-16 18:32:18 +01:00
commit 97176b3a10
2 changed files with 37 additions and 14 deletions

View file

@ -40,6 +40,7 @@ extern wl_shm* shm;
extern zwlr_layer_shell_v1* wlrLayerShell;
void spawn(Monitor&, const Arg& arg);
void setCloexec(int fd);
[[noreturn]] void die(const char* why);
// wayland smart pointers