diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-07-26 15:42:12 +0400 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-07-26 15:42:12 +0400 |
commit | 67905e2d7c6ee273b753af22fb22de0ebec918c1 (patch) | |
tree | cd61c7674c123307490cf1ff290ecb76a5c2905c /init | |
parent | 4abcb8b0d1c41544902ccd7927148eea393be37e (diff) |
*: work around sysinfo.h versus linux/*.h problems
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'init')
-rw-r--r-- | init/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c index ff9dc06a4..645f694c0 100644 --- a/init/init.c +++ b/init/init.c @@ -113,7 +113,8 @@ #include <paths.h> #include <sys/resource.h> #ifdef __linux__ -#include <linux/vt.h> +# include <linux/vt.h> +# include <sys/sysinfo.h> #endif #include "reboot.h" /* reboot() constants */ |