http://bugs.gentoo.org/174393 | |
--- tools/rpcgen/rpc_main.c | |
+++ tools/rpcgen/rpc_main.c | |
@@ -548,7 +548,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"); |