From d374c64e9d5fbd3febc984a7d1fa0b37f1de8a0f Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Fri, 29 Mar 1996 22:26:52 +0000 Subject: Define malloc to something random around include of rpc/* header files to avoid bogus definition there. --- nfs/rpc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nfs/rpc.c') diff --git a/nfs/rpc.c b/nfs/rpc.c index 348c5c98..7df05c36 100644 --- a/nfs/rpc.c +++ b/nfs/rpc.c @@ -20,6 +20,7 @@ /* Needed in order to get the RPC header files to include correctly */ #undef TRUE #undef FALSE +#define malloc spoiufasdf /* Avoid bogus definition in rpc/types.h */ #include #include @@ -27,6 +28,8 @@ #include #include +#undef malloc /* Get rid protection. */ + #include #include #include -- cgit v1.2.3