diff options
author | maximilian attems <max@stro.at> | 2011-08-08 20:43:08 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2011-08-09 09:32:30 +0900 |
commit | 7c7caf11813cf9993201285886ba9661b3de2d18 (patch) | |
tree | 102ef8a53d38bb48504b9465ca1a24e50ba009cb | |
parent | 1ea7cfd435aba0e095886db367e9616271f56c28 (diff) | |
download | kexec-tools-7c7caf11813cf9993201285886ba9661b3de2d18.tar.gz |
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 <max@stro.at>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | kexec/ifdown.c | 2 | ||||
-rw-r--r-- | kexec/kexec-syscall.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/kexec/ifdown.c b/kexec/ifdown.c index bc7f12f3..46b7bef0 100644 --- a/kexec/ifdown.c +++ b/kexec/ifdown.c @@ -10,11 +10,11 @@ char *v_ifdown = "@(#)ifdown.c 1.11 02-Jun-1998 miquels@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 b082f409..f4df45c7 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> |