author | Tellen Yu <tellen.yu@amlogic.com> | 2016-10-09 10:46:35 (GMT) |
---|---|---|
committer | Tellen Yu <tellen.yu@amlogic.com> | 2016-10-09 10:46:35 (GMT) |
commit | 8d295b2453309f548a7844bf4af0cdf987048ba8 (patch) | |
tree | 951a3aba3683d99351a79902c6b8ab6fdf4e9fdc | |
parent | 102d1cb29314a27d20e270f5bf321be6cce23b30 (diff) | |
download | busybox-8d295b2453309f548a7844bf4af0cdf987048ba8.zip busybox-8d295b2453309f548a7844bf4af0cdf987048ba8.tar.gz busybox-8d295b2453309f548a7844bf4af0cdf987048ba8.tar.bz2 |
64bit compatibility
Change-Id: I58acd7e0267384cfbb8459bb220eea7019ad83c3
-rw-r--r-- | android/librpc/clnt_udp.c | 3 | ||||
-rw-r--r-- | android/librpc/clnt_unix.c | 5 | ||||
-rw-r--r-- | android/librpc/svc.c | 1 |
3 files changed, 9 insertions, 0 deletions
diff --git a/android/librpc/clnt_udp.c b/android/librpc/clnt_udp.c index aca3e33..71ffa55 100644 --- a/android/librpc/clnt_udp.c +++ b/android/librpc/clnt_udp.c @@ -41,6 +41,9 @@ static char sccsid[] = "@(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro"; #include <features.h> #include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <fcntl.h> #include <unistd.h> #include <rpc/rpc.h> #include <rpc/xdr.h> diff --git a/android/librpc/clnt_unix.c b/android/librpc/clnt_unix.c index 9870149..daebf1b 100644 --- a/android/librpc/clnt_unix.c +++ b/android/librpc/clnt_unix.c @@ -49,6 +49,11 @@ #define __FORCE_GLIBC #include <features.h> +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <fcntl.h> + #include <netdb.h> #include <errno.h> #include <stdio.h> diff --git a/android/librpc/svc.c b/android/librpc/svc.c index 0f5300c..604b4a1 100644 --- a/android/librpc/svc.c +++ b/android/librpc/svc.c @@ -39,6 +39,7 @@ #define __FORCE_GLIBC #include <features.h> +#include <strings.h> #include <errno.h> #include <unistd.h> #include "rpc_private.h" |