[PATCH] kexec-tools: include minor klibc porting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These 2 "uncommon" include pathes are the first stumbling blocks
to build kexec-tools against klibc.

Of course more is needed, but this is a first step.
On the klibc step there is still stuff needed, but
it is already possible with hacks as Oppenembedded shows.

Signed-off-by: maximilian attems <max at stro.at>
---
 kexec/ifdown.c        |    2 +-
 kexec/kexec-syscall.h |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/kexec/ifdown.c b/kexec/ifdown.c
index bc7f12f..46b7bef 100644
--- a/kexec/ifdown.c
+++ b/kexec/ifdown.c
@@ -10,11 +10,11 @@ char *v_ifdown = "@(#)ifdown.c  1.11  02-Jun-1998  miquels at cistron.nl";
 #include <unistd.h>
 #include <time.h>
 #include <string.h>
+#include <errno.h>
 
 #include <sys/ioctl.h>
 #include <sys/socket.h>
 #include <sys/time.h>
-#include <sys/errno.h>
 
 #include <net/if.h>
 #include <netinet/in.h>
diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h
index b082f40..f4df45c 100644
--- a/kexec/kexec-syscall.h
+++ b/kexec/kexec-syscall.h
@@ -2,7 +2,6 @@
 #define KEXEC_SYSCALL_H
 
 #define __LIBRARY__
-#include <syscall.h>
 #include <sys/syscall.h>
 #include <unistd.h>
 
-- 
1.7.5.4




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux