about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-07-18 04:05:21 +0000
committerRoland McGrath <roland@gnu.org>2005-07-18 04:05:21 +0000
commitdc55ff815da7279a2bc58b8b770793952551d25f (patch)
tree902f156620ab3a49b1eb87df1b9633f1100d394a
parent993e2e33c07c70fba6a8acaff513263e5cf1e88f (diff)
downloadglibc-dc55ff815da7279a2bc58b8b770793952551d25f.tar.gz
glibc-dc55ff815da7279a2bc58b8b770793952551d25f.tar.xz
glibc-dc55ff815da7279a2bc58b8b770793952551d25f.zip
2005-01-14 GOTO Masanori <gotom@debian.or.jp>
	[BZ #1108]
	* sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
	irrespective of Cflag.
-rw-r--r--sunrpc/rpc_main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c
index fee83514d1..acc0132603 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)