2012-02-15 17:19:28

by Andreas Bießmann

[permalink] [raw]
Subject: [PATCH] x86, build: remove unused include

Commit 079f85e624189292d1c818b47764916bf8cf84a8 removed necessity for
sys/sysmacros.h include but missed to remove the include.

Still requiring sys/sysmacros.h for build tool breaks cross compiling x86 kernel
on non linux style systems which may not offer sys/sysmacros.h.

Signed-off-by: Andreas Bießmann <[email protected]>
---
arch/x86/boot/tools/build.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/arch/x86/boot/tools/build.c b/arch/x86/boot/tools/build.c
index 4e9bd6b..52628cd 100644
--- a/arch/x86/boot/tools/build.c
+++ b/arch/x86/boot/tools/build.c
@@ -29,7 +29,6 @@
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/sysmacros.h>
#include <unistd.h>
#include <fcntl.h>
#include <sys/mman.h>
--
1.7.9