kexec-tools: include minor klibc porting
Subsystems (2)
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.
Signed-off-by maximilian attems <[email protected]>
--- kexec/ifdown.c | 2 +- kexec/kexec-syscall.h | 1 - 2 files changed, 1 insertions(+), 2 deletions(-)
kexec/ifdown.c +1 -1
@@ -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
@@ -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
Simon Horman
AppliedQuoted 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.
Signed-off-by maximilian attems <[email protected]>
Thanks, applied.
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec