summaryrefslogtreecommitdiffstats
path: root/meta-filesystems/recipes-utils/udevil/files/0001-udevil-0.4.3-fix-compile-with-gcc6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-filesystems/recipes-utils/udevil/files/0001-udevil-0.4.3-fix-compile-with-gcc6.patch')
-rw-r--r--meta-filesystems/recipes-utils/udevil/files/0001-udevil-0.4.3-fix-compile-with-gcc6.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-filesystems/recipes-utils/udevil/files/0001-udevil-0.4.3-fix-compile-with-gcc6.patch b/meta-filesystems/recipes-utils/udevil/files/0001-udevil-0.4.3-fix-compile-with-gcc6.patch
new file mode 100644
index 000000000..355e93a37
--- /dev/null
+++ b/meta-filesystems/recipes-utils/udevil/files/0001-udevil-0.4.3-fix-compile-with-gcc6.patch
@@ -0,0 +1,12 @@
1Fix compilation with GCC6
2
3--- a/src/device-info.c 2013-12-09 14:59:27.000000000 +0100
4+++ b/src/device-info.c 2017-03-13 07:06:25.506666680 +0100
5@@ -3,6 +3,7 @@
6 * contains code excerpts from udisks v1.0.4
7 ************************************************************************** */
8
9+#include <sys/stat.h>
10 #include "device-info.h"
11
12 static char *