nfs-kernel-server: add a host build for rpcgen with the header file fixes, fix patching of generated files

git-svn-id: svn://svn.openwrt.org/openwrt/packages@25519 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2011-02-13 15:21:37 +00:00
parent 781433904d
commit c3faff3e84
4 changed files with 70 additions and 13 deletions

View File

@ -0,0 +1,10 @@
--- a/tools/rpcgen/rpc_cout.c
+++ b/tools/rpcgen/rpc_cout.c
@@ -38,7 +38,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"