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. --- nfs/mount.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nfs/mount.c') diff --git a/nfs/mount.c b/nfs/mount.c index 29b203aa..f8318c27 100644 --- a/nfs/mount.c +++ b/nfs/mount.c @@ -20,6 +20,7 @@ #define malloc a_byte_for_every_bozotic_sun_lossage_and_youd_need_a_lotta_ram #include +#include #undef TRUE /* Get rid of sun defs. */ #undef FALSE #undef malloc -- cgit v1.2.3