summaryrefslogtreecommitdiff
path: root/package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-30 10:40:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-30 10:40:05 +0100
commitc64105459c5d9662dd8a330f264b60a61ba14c0b (patch)
tree80cbca19a7a31fb3357d8eec3784367075f3b5d3 /package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c
parent659846437896836e683ba5c0fc393a78eb641c18 (diff)
parent39e9af48da3ef01a9eca53d54ace7545eec39da8 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c')
-rw-r--r--package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c b/package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c
new file mode 100644
index 000000000..5bc54e758
--- /dev/null
+++ b/package/nfs-utils/patches/patch-tools_rpcgen_rpc_main_c
@@ -0,0 +1,12 @@
+--- nfs-utils-1.2.1.orig/tools/rpcgen/rpc_main.c 2009-11-04 12:13:56.000000000 +0100
++++ nfs-utils-1.2.1/tools/rpcgen/rpc_main.c 2010-01-16 11:22:02.359375000 +0100
+@@ -562,9 +562,6 @@ s_output(int argc, char **argv, char *in
+ f_print(fout, "#include <sys/types.h>\n");
+
+ f_print(fout, "#include <memory.h>\n");
+-#ifndef linux
+- f_print(fout, "#include <stropts.h>\n");
+-#endif
+ if (inetdflag || !tirpcflag ) {
+ f_print(fout, "#include <sys/socket.h>\n");
+ f_print(fout, "#include <netinet/in.h>\n");