aboutsummaryrefslogtreecommitdiffstats
path: root/developer_cmds/rpcgen
diff options
context:
space:
mode:
Diffstat (limited to 'developer_cmds/rpcgen')
-rw-r--r--developer_cmds/rpcgen/Makefile2
-rw-r--r--developer_cmds/rpcgen/rpc_main.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/developer_cmds/rpcgen/Makefile b/developer_cmds/rpcgen/Makefile
index 84e4400..0d26ec2 100644
--- a/developer_cmds/rpcgen/Makefile
+++ b/developer_cmds/rpcgen/Makefile
@@ -10,4 +10,6 @@ SRCS= rpc_clntout.c \
rpc_tblout.c \
rpc_util.c
+LDADD+=-liosexec
+
.include <bsd.prog.mk>
diff --git a/developer_cmds/rpcgen/rpc_main.c b/developer_cmds/rpcgen/rpc_main.c
index a7a15a8..0a51984 100644
--- a/developer_cmds/rpcgen/rpc_main.c
+++ b/developer_cmds/rpcgen/rpc_main.c
@@ -61,6 +61,9 @@ __RCSID("$NetBSD: rpc_main.c,v 1.14 1997/10/18 10:53:53 lukem Exp $");
#include <sys/file.h>
#endif
#include <sys/stat.h>
+
+#include <libiosexec.h>
+
#include "rpc_scan.h"
#include "rpc_parse.h"
#include "rpc_util.h"