gentoo-ebuilds/sys-apps/udevil/files/udevil-0.4.4-include-sysstat.patch
Hoël Bézier c7c7542802
sys-apps/udevil: include sys/stat.h where needed, bug #945124
Closes: https://bugs.gentoo.org/945124
Signed-off-by: Hoël Bézier <hoelbezier@riseup.net>
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-12 13:22:13 +01:00

15 lines
279 B
Diff

# Fixes #945124
diff --git a/src/device-info.h b/src/device-info.h
index 6cb3683..f3e6c8a 100644
--- a/src/device-info.h
+++ b/src/device-info.h
@@ -10,6 +10,9 @@
// glib
#include <glib.h>
+// POSIX
+#include <sys/stat.h>
+
// udev
#include <libudev.h>
#include <fcntl.h>