depot/third_party/nixpkgs/pkgs/applications/misc/udevil/device-info-sys-stat.patch

15 lines
285 B
Diff
Raw Normal View History

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;