2005-01-14 GOTO Masanori <gotom@debian.or.jp>
authorroland <roland>
Wed, 26 Jan 2005 02:40:09 +0000 (02:40 +0000)
committerroland <roland>
Wed, 26 Jan 2005 02:40:09 +0000 (02:40 +0000)
* sunrpc/rpc_main.c (s_output): Generate #include <rpc/pmap_clnt.h>
irrespective of Cflag.

sunrpc/rpc_main.c

index fee8351..acc0132 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)