Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 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 | |