$NetBSD: patch-af,v 1.1 2005/01/02 21:29:03 mreriksson Exp $ --- nfsd/mp_xmit.c.orig 2003-06-03 09:26:27.000000000 +0200 +++ nfsd/mp_xmit.c @@ -59,7 +59,7 @@ # include #endif #include /* for tcdrain() */ -#if defined(__SVR4) || defined(__GLIBC__) +#if defined(__SVR4) || defined(__GLIBC__) || defined(__NetBSD__) #include #include #include @@ -67,6 +67,9 @@ #include "nfs_prot.h" #include "mp.h" #include "config.h" +#if defined(__NetBSD__) +#include /* malloc() */ +#endif /* Since the psion is little endian, we have to do some conversion */ /* Note: this should work for little endian hosts too */