* [PATCH] include sys/types.h for dev_t definition
@ 2015-09-15 0:05 Khem Raj
2015-09-15 14:44 ` Jens Axboe
0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2015-09-15 0:05 UTC (permalink / raw)
To: linux-btrace
Avoids the build failures when sys/types.h does not get included
indirectly through other headers.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
blktrace.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/blktrace.h b/blktrace.h
index 380aec7..944fc08 100644
--- a/blktrace.h
+++ b/blktrace.h
@@ -5,6 +5,7 @@
#include <limits.h>
#include <byteswap.h>
#include <endian.h>
+#include <sys/types.h>
#include "blktrace_api.h"
#include "rbtree.h"
--
2.5.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-15 14:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-15 0:05 [PATCH] include sys/types.h for dev_t definition Khem Raj
2015-09-15 14:44 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).