--- nfs-utils-1.3.4.orig/tools/rpcgen/rpc_main.c 2016-08-03 20:25:15.000000000 +0200 +++ nfs-utils-1.3.4/tools/rpcgen/rpc_main.c 2016-10-08 09:58:39.000000000 +0200 @@ -156,11 +156,7 @@ int timerflag; /* TRUE if !indefinite & int newstyle; /* newstyle of passing arguments (by value) */ int Cflag = 0 ; /* ANSI C syntax */ static int allfiles; /* generate all files */ -#ifdef linux int tirpcflag = 0; /* no tirpc by default */ -#else -int tirpcflag = 1; /* generating code for tirpc, by default */ -#endif int main(int argc, char **argv) @@ -544,13 +540,8 @@ s_output(int argc, char **argv, char *in timerflag = 1; } -#ifndef linux - if( !tirpcflag && inetdflag ) - f_print(fout, "#include /* TIOCNOTTY */\n"); -#else if( !tirpcflag ) f_print(fout, "#include /* TIOCNOTTY */\n"); -#endif if( Cflag && (inetdflag || pmflag ) ) { f_print(fout, "#ifdef __cplusplus\n"); f_print(fout, "#include /* getdtablesize, open */\n"); @@ -563,9 +554,6 @@ s_output(int argc, char **argv, char *in f_print(fout, "#include \n"); f_print(fout, "#include \n"); -#ifndef linux - f_print(fout, "#include \n"); -#endif if (inetdflag || !tirpcflag ) { f_print(fout, "#include \n"); f_print(fout, "#include \n");