summaryrefslogtreecommitdiffstats
path: root/extra/nfs-utils/nfs-utils-rpc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nfs-utils/nfs-utils-rpc.patch')
-rw-r--r--extra/nfs-utils/nfs-utils-rpc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/nfs-utils/nfs-utils-rpc.patch b/extra/nfs-utils/nfs-utils-rpc.patch
new file mode 100644
index 000000000..b05b67a6b
--- /dev/null
+++ b/extra/nfs-utils/nfs-utils-rpc.patch
@@ -0,0 +1,11 @@
+--- tools/rpcgen/rpc_main.c Tue Apr 7 21:53:12 2009
++++ tools/rpcgen/rpc_main.c Tue Apr 7 21:53:12 2009
+@@ -550,7 +550,7 @@
+ f_print(fout, "#include <sys/ttycom.h>/* TIOCNOTTY */\n");
+ #else
+ if( !tirpcflag )
+- f_print(fout, "#include <sys/ttycom.h>/* TIOCNOTTY */\n");
++ f_print(fout, "#include <sys/ioctl.h>/* TIOCNOTTY */\n");
+ #endif
+ if( Cflag && (inetdflag || pmflag ) ) {
+ f_print(fout, "#ifdef __cplusplus\n");