* sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>

irrespective of Cflag.
This commit is contained in:
Roland McGrath 2005-01-26 02:40:14 +00:00
parent d68684162b
commit c7adcc24f3
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,8 @@
2005-01-14 GOTO Masanori <gotom@debian.or.jp>
* sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
irrespective of Cflag.
* manual/memory.texi (sbrk): Fix definition.
* manual/string.texi (strcasestr): Fix example typo.

View File

@ -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)