diff options
author | Roland McGrath <roland@gnu.org> | 2005-01-26 02:40:14 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-01-26 02:40:14 +0000 |
commit | c7adcc24f39a2137ccee23469a15c36e49623dd7 (patch) | |
tree | 97b65f0d57c740422a0cc4e3b59c7553126f438f | |
parent | d68684162bd587ffe94c0f62c9504e5841855ba5 (diff) | |
download | glibc-c7adcc24f39a2137ccee23469a15c36e49623dd7.zip glibc-c7adcc24f39a2137ccee23469a15c36e49623dd7.tar.gz glibc-c7adcc24f39a2137ccee23469a15c36e49623dd7.tar.bz2 |
* sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
irrespective of Cflag.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sunrpc/rpc_main.c | 6 |
2 files changed, 5 insertions, 4 deletions
@@ -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. diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c index fee8351..acc0132 100644 --- a/sunrpc/rpc_main.c +++ b/sunrpc/rpc_main.c @@ -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) |