include sys/types.h for dev_t definition
PATCH 1/1 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 <[email protected]>
--- blktrace.h | 1 + 1 file changed, 1 insertion(+)
blktrace.h +1 -0
@@ -5,6 +5,7 @@#include <limits.h> #include <byteswap.h> #include <endian.h> +#include <sys/types.h> #include "blktrace_api.h" #include "rbtree.h"
Signature · 1 line
2.5.2
Jens Axboe
AppliedQuoted 4 lines · Khem Raj
Avoids the build failures when
sys/types.hdoes not get included indirectly through other headers.Signed-off-by Khem Raj <[email protected]>
Applied, thanks.
Signature · 1 line
Jens Axboe