From 3b378a6535bc8d9942875ba094301274819905e4 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 22 Aug 2021 02:07:14 +0200 Subject: nfs/nfsd: Use libtirpc Sun RPC is being phased out from glibc. * configure.ac: Detect libtirpc.pc, subst libtirpc_CFLAGS and libtirpc_LIBS. * config.make.in: Subst libtirpc_CFLAGS and libtirpc_LIBS. * nfs/Makefile, nfsd/Makefile: Include libtirpc_CFLAGS and libtirpc_LIBS * nfs/mount.c: Include * nfsd/main.c: Likewise. * nfsd/ops.c: Likewise. * nfsd/cache.c: Undef TRUE/FALSE after including rpc/ headers. * nfsd/loop.c: Likewise. --- nfsd/cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nfsd/cache.c') diff --git a/nfsd/cache.c b/nfsd/cache.c index 45234d89..d3ee7659 100644 --- a/nfsd/cache.c +++ b/nfsd/cache.c @@ -32,11 +32,11 @@ #include "nfsd.h" -#undef TRUE -#undef FALSE #define malloc spoogie_woogie /* ugh^2. */ #include #include +#undef TRUE +#undef FALSE #undef malloc #define IDHASH_TABLE_SIZE 1024 -- cgit v1.2.3