diff options
| author | Daniel Golle | 2026-02-09 11:29:58 +0000 |
|---|---|---|
| committer | Daniel Golle | 2026-02-09 11:31:44 +0000 |
| commit | 96c827fe5f04c8871c086e9d8205bc32371add9e (patch) | |
| tree | 1f8f7ffaf9236f68cbb902e8ac0d92a973b31344 | |
| parent | 6b10c71c19b41e1052ddc0755f749a38dab871f7 (diff) | |
coldplug: fix missing header include
makedev() is defined in header sys/sysmacros.h which needs to be included
to not break the build.
Fixes: 58d7aaa ("initd/coldplug: create /dev/null before running udevtrigger")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
| -rw-r--r-- | plug/coldplug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plug/coldplug.c b/plug/coldplug.c index 1925402..557d069 100644 --- a/plug/coldplug.c +++ b/plug/coldplug.c @@ -15,6 +15,7 @@ #include <sys/stat.h> #include <sys/types.h> #include <sys/mount.h> +#include <sys/sysmacros.h> #include <stdlib.h> #include <unistd.h> |