From 35ab9586c2e46d42b8fb711ce00658fc126cbc61 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 25 Sep 1998 11:43:48 +0000 Subject: [PATCH] include Submitted by: Alexander Leidinger --- usr.bin/rpcgen/rpc_clntout.c | 2 +- usr.bin/rpcgen/rpc_main.c | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/usr.bin/rpcgen/rpc_clntout.c b/usr.bin/rpcgen/rpc_clntout.c index e4a9db7cf373..48869ddd3b10 100644 --- a/usr.bin/rpcgen/rpc_clntout.c +++ b/usr.bin/rpcgen/rpc_clntout.c @@ -266,7 +266,7 @@ printbody(proc) RESULT); if (mtflag) - f_print(fout, "\n\t\tTIMEOUT));\n}\n"); + f_print(fout, "\n\t\tTIMEOUT));\n"); else f_print(fout, "\n\t\tTIMEOUT) != RPC_SUCCESS) {\n"); diff --git a/usr.bin/rpcgen/rpc_main.c b/usr.bin/rpcgen/rpc_main.c index c63cb4283ff8..b6d7b2c81699 100644 --- a/usr.bin/rpcgen/rpc_main.c +++ b/usr.bin/rpcgen/rpc_main.c @@ -35,7 +35,7 @@ static char sccsid[] = "@(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI"; #endif static const char rcsid[] = - "$Id: rpc_main.c,v 1.8 1998/01/15 08:46:58 jb Exp $"; + "$Id: rpc_main.c,v 1.9 1998/03/07 05:43:59 jb Exp $"; #endif /* @@ -548,8 +548,12 @@ h_output(infile, define, extend, outfile) f_print(fout, "#include \n"); if (mtflag) { +#if !defined(__FreeBSD__) && !defined(__NetBSD__) f_print(fout, "#include \n"); f_print(fout, "#include \n"); +#else + f_print(fout, "#include \n"); +#endif }; /* put the C++ support */