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/loop.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nfsd/loop.c') diff --git a/nfsd/loop.c b/nfsd/loop.c index f2d6d546..d94c5d10 100644 --- a/nfsd/loop.c +++ b/nfsd/loop.c @@ -23,14 +23,14 @@ #include "nfsd.h" -#include #include "../nfs/mount.h" -#undef TRUE -#undef FALSE #define malloc spoogie_woogie /* barf */ -#include #include +#include +#undef TRUE +#undef FALSE +#include #include #include #undef malloc -- cgit v1.2.3