summaryrefslogtreecommitdiffstats
path: root/extra/nfs-utils/nfs-utils-rpc.patch
blob: b05b67a6bd0a34e2881af469bafdd0fa2c0a5618 (plain)
1
2
3
4
5
6
7
8
9
10
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");