Revert "[packages]: nfs-kernel-server - 101-no_malloc_h.patch isn't needed anymore"
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 4 Nov 2011 13:33:52 +0000 (13:33 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 4 Nov 2011 13:33:52 +0000 (13:33 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28751 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/nfs-kernel-server/patches/101-no_malloc_h.patch [new file with mode: 0644]

diff --git a/net/nfs-kernel-server/patches/101-no_malloc_h.patch b/net/nfs-kernel-server/patches/101-no_malloc_h.patch
new file mode 100644 (file)
index 0000000..afe4c98
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/tools/rpcgen/rpc_cout.c
++++ b/tools/rpcgen/rpc_cout.c
+@@ -36,7 +36,6 @@ static char sccsid[] = "@(#)rpc_cout.c 1
+ #include <stdio.h>
+ #include <string.h>
+ #include <stdlib.h>
+-#include <malloc.h>
+ #include <ctype.h>
+ #include "rpc_parse.h"
+ #include "rpc_util.h"