From 4ebac79f015c67aee373c0673496e72c01d18dbd Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Wed, 7 Jan 2015 19:44:26 +0000 Subject: build-sys: fix make checkincludes warnings Signed-off-by: Sami Kerola --- lib/blkdev.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'lib/blkdev.c') diff --git a/lib/blkdev.c b/lib/blkdev.c index a29352963..c4ebfaba0 100644 --- a/lib/blkdev.c +++ b/lib/blkdev.c @@ -19,14 +19,10 @@ #endif #ifdef HAVE_SYS_DISK_H -#ifdef HAVE_SYS_QUEUE_H -#include /* for LIST_HEAD */ -#endif -#include -#endif - -#ifdef __FreeBSD_kernel__ -#include +# ifdef HAVE_SYS_QUEUE_H +# include /* for LIST_HEAD */ +# endif +# include #endif #include "blkdev.h" -- cgit v1.2.3-55-g7522