Skip to content

Commit

Permalink
2005-01-14 GOTO Masanori <gotom@debian.or.jp>
Browse files Browse the repository at this point in the history
	[BZ #1108]
	* sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
	irrespective of Cflag.
  • Loading branch information
Roland McGrath committed Jul 18, 2005
1 parent 993e2e3 commit dc55ff8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sunrpc/rpc_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -695,11 +695,9 @@ s_output (int argc, const char *argv[], const char *infile, const char *define,

fprintf (fout, "#include <stdio.h>\n");
fprintf (fout, "#include <stdlib.h>\n");
fprintf (fout, "#include <rpc/pmap_clnt.h>\n");
if (Cflag)
{
fprintf (fout, "#include <rpc/pmap_clnt.h>\n");
fprintf (fout, "#include <string.h>\n");
}
fprintf (fout, "#include <string.h>\n");
if (strcmp (svcclosetime, "-1") == 0)
indefinitewait = 1;
else if (strcmp (svcclosetime, "0") == 0)
Expand Down

0 comments on commit dc55ff8

Please sign in to comment.