blob: a4b7157b4f5e537192e475469932eddaba38eb29 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001From 6b5bbdfaac7f216fe8a02c4cf29e5eb2aee5a409 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 15 Sep 2015 00:01:00 +0000
4Subject: [PATCH] include sys/types.h for dev_t definition
5
6Avoids the build failures when sys/types.h does not get included
7indirectly through other headers.
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11Upstream-Status: Submitted
12
13 blktrace.h | 1 +
14 1 file changed, 1 insertion(+)
15
16diff --git a/blktrace.h b/blktrace.h
17index 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--
292.5.2
30