nixpkgs/pkgs/by-name/ud/udevil/device-info-sys-stat.patch
Anderson Torres f0e64ce16f treewide: migrate packages maintained by AndersonTorres to by-name
Manual migration for the sake of by-name migration is no longer discouraged
since #340235.
2024-09-16 14:26:47 -03:00

15 lines
285 B
Diff

diff --git a/src/device-info.h b/src/device-info.h
index 6cb3683..ddac24c 100644
--- a/src/device-info.h
+++ b/src/device-info.h
@@ -18,7 +18,8 @@
// intltool
#include <glib/gi18n.h>
-
+// stat
+#include <sys/stat.h>
typedef struct device_t {
struct udev_device *udevice;