projects
/
blktrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2564a60
)
include sys/types.h for dev_t definition
author
Khem Raj
<raj.khem@gmail.com>
Tue, 15 Sep 2015 00:05:21 +0000
(
00:05
+0000)
committer
Jens Axboe
<axboe@fb.com>
Tue, 15 Sep 2015 14:44:05 +0000
(08:44 -0600)
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>
blktrace.h
patch
|
blob
|
blame
|
history
diff --git
a/blktrace.h
b/blktrace.h
index 380aec75c60702d7cb85ffef33558084320c2242..944fc084cc090d5736911a8ca304bc8a2e9eacf6 100644
(file)
--- a/
blktrace.h
+++ b/
blktrace.h
@@
-5,6
+5,7
@@
#include <limits.h>
#include <byteswap.h>
#include <endian.h>
#include <limits.h>
#include <byteswap.h>
#include <endian.h>
+#include <sys/types.h>
#include "blktrace_api.h"
#include "rbtree.h"
#include "blktrace_api.h"
#include "rbtree.h"