]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2005-01-14 GOTO Masanori <gotom@debian.or.jp>
authorRoland McGrath <roland@gnu.org>
Mon, 18 Jul 2005 04:05:21 +0000 (04:05 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 18 Jul 2005 04:05:21 +0000 (04:05 +0000)
[BZ #1108]
* sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
irrespective of Cflag.

sunrpc/rpc_main.c

index fee83514d1a7d394b325c44879c782913b2f577d..acc0132603a8b809192440f785f65f44d9443320 100644 (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)