Skip to contentSkip to conversation

kexec-tools: include minor klibc porting

PATCH Applied maximilian attems 2 participants 2 messages Aug 8, 2011 – Aug 10, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kexec-tools: include minor klibc porting

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.

---
 kexec/ifdown.c        |    2 +-
 kexec/kexec-syscall.h |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
kexec/ifdown.c +1 -1
index bc7f12f..46b7bef 100644
@@ -10,11 +10,11 @@ char *v_ifdown = "@(#)ifdown.c  1.11  02-Jun-1998  [email protected]";
 #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>
kexec/kexec-syscall.h +0 -1
index b082f40..f4df45c 100644
@@ -2,7 +2,6 @@
 #define KEXEC_SYSCALL_H
 
 #define __LIBRARY__
-#include <syscall.h>
 #include <sys/syscall.h>
 #include <unistd.h>
 
Signature · 7 lines
1.7.5.4


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Applied
#1 lore raw
Quoted 8 lines · maximilian attems

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.

Thanks, applied.

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec