diff options
Diffstat (limited to 'recipes-extended/kvmtool/files/0001-kvmtool-9p-fixed-compilation-error.patch')
-rw-r--r-- | recipes-extended/kvmtool/files/0001-kvmtool-9p-fixed-compilation-error.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-extended/kvmtool/files/0001-kvmtool-9p-fixed-compilation-error.patch b/recipes-extended/kvmtool/files/0001-kvmtool-9p-fixed-compilation-error.patch new file mode 100644 index 00000000..63911fc2 --- /dev/null +++ b/recipes-extended/kvmtool/files/0001-kvmtool-9p-fixed-compilation-error.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From bcd954ffdb9383030e02d356b51e09e4e2a7105a Mon Sep 17 00:00:00 2001 | ||
2 | From: Dariusz Pelowski <dariusz.pelowski@gmail.com> | ||
3 | Date: Sun, 5 Nov 2017 12:39:52 +0100 | ||
4 | Subject: [PATCH 1/2] kvmtool: 9p: fixed compilation error | ||
5 | |||
6 | makedev is defined in sys/sysmacros.h | ||
7 | |||
8 | Signed-off-by: Dariusz Pelowski <dariusz.pelowski@gmail.com> | ||
9 | --- | ||
10 | virtio/9p.c | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/virtio/9p.c b/virtio/9p.c | ||
14 | index 6acbfdd..1dee2c2 100644 | ||
15 | --- a/virtio/9p.c | ||
16 | +++ b/virtio/9p.c | ||
17 | @@ -15,6 +15,7 @@ | ||
18 | #include <string.h> | ||
19 | #include <errno.h> | ||
20 | #include <sys/vfs.h> | ||
21 | +#include <sys/sysmacros.h> | ||
22 | |||
23 | #include <linux/virtio_ring.h> | ||
24 | #include <linux/virtio_9p.h> | ||
25 | -- | ||
26 | 2.15.0 | ||
27 | |||