portability: abstract memfd_create away

This commit is contained in:
Raphael Robatsch 2021-11-16 19:30:16 +01:00
commit f257340432
3 changed files with 38 additions and 3 deletions

View file

@ -42,6 +42,7 @@ extern zwlr_layer_shell_v1* wlrLayerShell;
void spawn(Monitor&, const Arg& arg);
void setCloexec(int fd);
[[noreturn]] void die(const char* why);
[[noreturn]] void diesys(const char* why);
// wayland smart pointers
template<typename T>