patch-tools_rpcgen_rpc_main_c 511 B

123456789101112
  1. --- nfs-utils-1.2.1.orig/tools/rpcgen/rpc_main.c 2009-11-04 12:13:56.000000000 +0100
  2. +++ nfs-utils-1.2.1/tools/rpcgen/rpc_main.c 2010-01-16 11:22:02.359375000 +0100
  3. @@ -562,9 +562,6 @@ s_output(int argc, char **argv, char *in
  4. f_print(fout, "#include <sys/types.h>\n");
  5. f_print(fout, "#include <memory.h>\n");
  6. -#ifndef linux
  7. - f_print(fout, "#include <stropts.h>\n");
  8. -#endif
  9. if (inetdflag || !tirpcflag ) {
  10. f_print(fout, "#include <sys/socket.h>\n");
  11. f_print(fout, "#include <netinet/in.h>\n");