watchdog: add includes for geteuid

05a3e2bad9 added `geteuid` use but didn't
add the needed headers. This works by chance on libstdc++ systems via
transitive includes, but it doesn't work on libc++ systems, as reported
downstream in Gentoo at https://bugs.gentoo.org/933120.
This commit is contained in:
Sam James 2024-06-02 00:25:26 +01:00
parent a1f30edaf6
commit 31a3961c4c
No known key found for this signature in database
GPG key ID: 738409F520DF9190

View file

@ -8,6 +8,8 @@
*/
#include "watchdoglogging.h"
#include <unistd.h>
#include <sys/types.h>
#include <QCoreApplication>
#include <QTimer>
#include <systemd/sd-daemon.h>