diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2020-05-14 17:49:44 +0200 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2020-05-14 18:12:03 +0200 |
commit | 9606d987722ee5b89bbfae230389d3385a3884b0 (patch) | |
tree | 716b63d0cbab18a1061967b731c9d65c494bfbc0 /initd/init.h | |
parent | 5b5fc677b313908b8d1a775cd6af08202841d908 (diff) |
Replace standard signal handling in initd with signalfd + epoll
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'initd/init.h')
-rw-r--r-- | initd/init.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/initd/init.h b/initd/init.h index 5618ccd..5ac6d22 100644 --- a/initd/init.h +++ b/initd/init.h @@ -16,7 +16,9 @@ #include <poll.h> #include <linux/reboot.h> +#include <sys/signalfd.h> #include <sys/reboot.h> +#include <sys/epoll.h> #include <sys/prctl.h> #include <stdbool.h> #include <signal.h> |