From: Christian Brauner Date: Mon, 20 Mar 2017 14:42:50 +0000 (+0100) Subject: tree-wide: include directly X-Git-Tag: lxc-2.1.0~174^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1476%2Fhead;p=thirdparty%2Flxc.git tree-wide: include directly Signed-off-by: Christian Brauner --- diff --git a/src/lxc/bdev/lxclvm.c b/src/lxc/bdev/lxclvm.c index 75de17f61..bcd8be8f4 100644 --- a/src/lxc/bdev/lxclvm.c +++ b/src/lxc/bdev/lxclvm.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include "bdev.h" @@ -41,9 +42,6 @@ #ifdef MAJOR_IN_MKDEV # include #endif -#ifdef MAJOR_IN_SYSMACROS -# include -#endif lxc_log_define(lxclvm, lxc); diff --git a/src/lxc/conf.c b/src/lxc/conf.c index edad28f6f..55de873d5 100644 --- a/src/lxc/conf.c +++ b/src/lxc/conf.c @@ -47,6 +47,7 @@ #include #include #include +#include #include #include #include @@ -56,9 +57,6 @@ #ifdef MAJOR_IN_MKDEV # include #endif -#ifdef MAJOR_IN_SYSMACROS -# include -#endif #ifdef HAVE_STATVFS #include