diff options
author | Miles Bader <miles@gnu.org> | 1996-03-29 22:26:52 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-03-29 22:26:52 +0000 |
commit | d374c64e9d5fbd3febc984a7d1fa0b37f1de8a0f (patch) | |
tree | 8da61c077ba9c566741c14864c8599a3808def9a /nfs/rpc.c | |
parent | c43ee99d46966b7ba6e2b5a63ba3dc9d02a4e2af (diff) |
Define malloc to something random around include of rpc/* header files to
avoid bogus definition there.
Diffstat (limited to 'nfs/rpc.c')
-rw-r--r-- | nfs/rpc.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 <rpc/types.h> #include <rpc/xdr.h> @@ -27,6 +28,8 @@ #include <rpc/rpc_msg.h> #include <rpc/auth_unix.h> +#undef malloc /* Get rid protection. */ + #include <netinet/in.h> #include <assert.h> #include <errno.h> |