diff options
author | mbr <mbr@FreeBSD.org> | 2003-01-16 07:27:30 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-01-16 07:27:30 +0000 |
commit | f4b7d5938511f9f869d55eaf04dbfc04edcf0989 (patch) | |
tree | 9666afecfbd20dd475ac216552d1c46a292cf343 /usr.bin/rpcgen/rpc_main.c | |
parent | 247cd2063c55a737d5fd75bc16a9a26a7631f458 (diff) | |
download | FreeBSD-src-f4b7d5938511f9f869d55eaf04dbfc04edcf0989.zip FreeBSD-src-f4b7d5938511f9f869d55eaf04dbfc04edcf0989.tar.gz |
Implement nonblocking tpc-connections. rpcgen -m does still
produce backcompatible code.
Reviewed by: rwatson
Obtained from: NetBSD
MFC after: 1 day
Diffstat (limited to 'usr.bin/rpcgen/rpc_main.c')
-rw-r--r-- | usr.bin/rpcgen/rpc_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/rpcgen/rpc_main.c b/usr.bin/rpcgen/rpc_main.c index 6321735..35a0f71 100644 --- a/usr.bin/rpcgen/rpc_main.c +++ b/usr.bin/rpcgen/rpc_main.c @@ -636,6 +636,8 @@ s_output(argc, argv, infile, define, extend, outfile, nomain, netflag) "#include <rpc/pmap_clnt.h> /* for pmap_unset */\n"); f_print (fout, "#include <string.h> /* strcmp */\n"); } + if (tirpcflag) + f_print(fout, "#include <rpc/rpc_com.h>\n"); if (strcmp(svcclosetime, "-1") == 0) indefinitewait = 1; else if (strcmp(svcclosetime, "0") == 0) |