diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-08-06 14:46:14 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-08-06 14:46:14 +0000 |
commit | 17a1a692cb64c4b56a5c86e35f8abed121bc758b (patch) | |
tree | 42f2bc51f647d6e542506d68e311c4dc16f49fd1 /libc/inet/rpc/auth_none.c | |
parent | 78c86530e0529862acb1a81a571daa1b13c93f13 (diff) |
Rework RPC code once again. By default, only enable the
stuff needed for NFS mounts, rsh, and similar.
-Erik
Diffstat (limited to 'libc/inet/rpc/auth_none.c')
-rw-r--r-- | libc/inet/rpc/auth_none.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/inet/rpc/auth_none.c b/libc/inet/rpc/auth_none.c index 0983b9532..b4a341445 100644 --- a/libc/inet/rpc/auth_none.c +++ b/libc/inet/rpc/auth_none.c @@ -35,7 +35,9 @@ * credentials and verifiers to remote systems. */ -#include <rpc/rpc.h> +#define __FORCE_GLIBC +#include <features.h> +#include "rpc_private.h" #define MAX_MARSHEL_SIZE 20 @@ -61,7 +63,7 @@ struct authnone_private_s { char marshalled_client[MAX_MARSHEL_SIZE]; u_int mcnt; }; -#ifdef _RPC_THREAD_SAFE_ +#ifdef __UCLIBC_HAS_THREADS__ #define authnone_private ((struct authnone_private_s *)RPC_THREAD_VARIABLE(authnone_private_s)) #else static struct authnone_private_s *authnone_private; |