diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-09-20 16:22:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-24 09:40:26 +0000 |
commit | 4972eddecde755045ec9598812f8c6c2b4fd243d (patch) | |
tree | eb74d747af67a66b5873c6936ae9a99689d1250a /meta | |
parent | d629fa1fbd85fed7fbab17e836a5b073b41a2cdd (diff) | |
download | poky-4972eddecde755045ec9598812f8c6c2b4fd243d.tar.gz |
blktrace: Include <sys/types.h for dev_t
(From OE-Core rev: 1151b2402328f867dae11a5ef836218bbe66dd25)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/blktrace/blktrace/0001-include-sys-types.h-for-dev_t-definition.patch | 30 | ||||
-rw-r--r-- | meta/recipes-kernel/blktrace/blktrace_git.bb | 4 |
2 files changed, 33 insertions, 1 deletions
diff --git a/meta/recipes-kernel/blktrace/blktrace/0001-include-sys-types.h-for-dev_t-definition.patch b/meta/recipes-kernel/blktrace/blktrace/0001-include-sys-types.h-for-dev_t-definition.patch new file mode 100644 index 0000000000..a4b7157b4f --- /dev/null +++ b/meta/recipes-kernel/blktrace/blktrace/0001-include-sys-types.h-for-dev_t-definition.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 6b5bbdfaac7f216fe8a02c4cf29e5eb2aee5a409 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 15 Sep 2015 00:01:00 +0000 | ||
4 | Subject: [PATCH] include sys/types.h for dev_t definition | ||
5 | |||
6 | Avoids the build failures when sys/types.h does not get included | ||
7 | indirectly through other headers. | ||
8 | |||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | Upstream-Status: Submitted | ||
12 | |||
13 | blktrace.h | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/blktrace.h b/blktrace.h | ||
17 | index 380aec7..944fc08 100644 | ||
18 | --- a/blktrace.h | ||
19 | +++ b/blktrace.h | ||
20 | @@ -5,6 +5,7 @@ | ||
21 | #include <limits.h> | ||
22 | #include <byteswap.h> | ||
23 | #include <endian.h> | ||
24 | +#include <sys/types.h> | ||
25 | |||
26 | #include "blktrace_api.h" | ||
27 | #include "rbtree.h" | ||
28 | -- | ||
29 | 2.5.2 | ||
30 | |||
diff --git a/meta/recipes-kernel/blktrace/blktrace_git.bb b/meta/recipes-kernel/blktrace/blktrace_git.bb index 5b0be425ec..957cb7096f 100644 --- a/meta/recipes-kernel/blktrace/blktrace_git.bb +++ b/meta/recipes-kernel/blktrace/blktrace_git.bb | |||
@@ -9,7 +9,9 @@ SRCREV = "43fc870ce04e963def45dfc0d1ed4ea21ef10d4b" | |||
9 | PV = "1.1.0+git${SRCPV}" | 9 | PV = "1.1.0+git${SRCPV}" |
10 | 10 | ||
11 | SRC_URI = "git://git.kernel.dk/blktrace.git \ | 11 | SRC_URI = "git://git.kernel.dk/blktrace.git \ |
12 | file://ldflags.patch" | 12 | file://ldflags.patch \ |
13 | file://0001-include-sys-types.h-for-dev_t-definition.patch \ | ||
14 | " | ||
13 | 15 | ||
14 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
15 | 17 | ||