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:
10
net/nfs-kernel-server/patches/003-no_malloc_h.patch
Normal file
10
net/nfs-kernel-server/patches/003-no_malloc_h.patch
Normal 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"
|
Reference in New Issue
Block a user