summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/rpcgen/rpc_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/rpcgen/rpc_main.c b/usr.bin/rpcgen/rpc_main.c
index 81e722e..fb3813f 100644
--- a/usr.bin/rpcgen/rpc_main.c
+++ b/usr.bin/rpcgen/rpc_main.c
@@ -624,7 +624,7 @@ s_output(int argc, const char *argv[], const char *infile, const char *define,
if (inetdflag || pmflag) {
f_print(fout, "#ifdef __cplusplus\n");
f_print(fout,
- "#include <sysent.h> /* getdtablesize, open */\n");
+ "#include <sys/sysent.h> /* getdtablesize, open */\n");
f_print(fout, "#endif /* __cplusplus */\n");
}
if (tirpcflag) {
OpenPOWER on IntegriCloud