fix include statement in stats.h
authorMartin Peschke <mpeschke@linux.vnet.ibm.com>
Mon, 20 Apr 2009 14:05:18 +0000 (16:05 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 21 Apr 2009 07:21:55 +0000 (09:21 +0200)
Some endianess conversion macros have been moved and the corresponding
header file is gone. Need to adapt an include statement in stats.h. The
compiler did not complain because blkiomon.c accidently included blktrace.h
prior to stats.h. Introduced by blktrace rewrite which became version 2.

Signed-off-by: Martin Peschke <mpeschke@linux.vnet.ibm.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
stats.h

diff --git a/stats.h b/stats.h
index 34f492c31a872f5be549938fde9721e6ec334f3e..e519af48df57c69818f414b431ba9a37c7703455 100644 (file)
--- a/stats.h
+++ b/stats.h
@@ -23,7 +23,7 @@
 #define STATS_H
 
 #include <linux/types.h>
-#include "endian.h"
+#include "blktrace.h"
 
 struct minmax {
        __u64 min;