diff options
| author | Daniel Golle | 2026-02-09 11:27:16 +0000 |
|---|---|---|
| committer | Daniel Golle | 2026-03-14 00:29:08 +0000 |
| commit | fb1c92bc07c68dcf70da0e3e16ccd9f7319bdb61 (patch) | |
| tree | afa6edf191f37dfaee011aaa56d46c0b68cbb6b6 | |
| parent | 6dafa862b16cc3dcd1ea7d67febc444b51aed3e2 (diff) | |
| download | procd-fb1c92bc07c68dcf70da0e3e16ccd9f7319bdb61.tar.gz | |
hotplug-dispatch: fix missing header include
Flag AT_SYMLINK_NOFOLLOW is defined in header fcntl.h which needs to be
included to not break the build with glibc.
Fixes: c4e9859 ("hotplug-dispatch: use stat if d_type is DT_UNKNOWN")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 6b10c71c19b41e1052ddc0755f749a38dab871f7)
| -rw-r--r-- | hotplug-dispatch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hotplug-dispatch.c b/hotplug-dispatch.c index d99c30d..2bf150f 100644 --- a/hotplug-dispatch.c +++ b/hotplug-dispatch.c @@ -18,6 +18,7 @@ #include <dirent.h> #include <errno.h> +#include <fcntl.h> #include <glob.h> #include <limits.h> #include <stdbool.h> |