]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - tools/rpcgen/rpc_main.c
When compiling nfs-utils-1.1.6, I get this error:
[nfs-utils.git] / tools / rpcgen / rpc_main.c
index 26f202b4f37de63058509a85486611a890fd1a18..e23caff3fb396afc4d3f9dfe44fe003544cd7a45 100644 (file)
@@ -550,7 +550,7 @@ s_output(int argc, char **argv, char *infile, char *define, int extend,
          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");