summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-09-15 00:05:21 +0000
committerJens Axboe <axboe@fb.com>2015-09-15 08:44:05 -0600
commitf55e6d10cf797a0418a26d59f8bd40d50753b153 (patch)
treedb6f683aab46bb6f91e6bbf916be688f4ca4c886
parent2564a6029e55d6a0507ebb28a5a01f5dffb0bd56 (diff)
downloadblktrace-f55e6d10cf797a0418a26d59f8bd40d50753b153.tar.gz
blktrace-f55e6d10cf797a0418a26d59f8bd40d50753b153.tar.bz2
include sys/types.h for dev_t definition
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> Signed-off-by: Jens Axboe <axboe@fb.com>
-rw-r--r--blktrace.h1
1 files changed, 1 insertions, 0 deletions
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"