aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-05-13 14:30:59 -0400
committerCameron Katri <me@cameronkatri.com>2021-05-13 15:15:55 -0400
commit6dabe97d4c2b1d4b250cc5850081b2f0c9d98c12 (patch)
tree86f9467a154791e756ea797c90a28d68ecd902c7
parent3b0c74e69809e2daecffe01904d31cfd840270ec (diff)
downloadapple_cmds-6dabe97d4c2b1d4b250cc5850081b2f0c9d98c12.tar.gz
apple_cmds-6dabe97d4c2b1d4b250cc5850081b2f0c9d98c12.tar.zst
apple_cmds-6dabe97d4c2b1d4b250cc5850081b2f0c9d98c12.zip
developer_cmds: use libiosexec
-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"