diff options
author | Cameron Katri <me@cameronkatri.com> | 2021-05-13 15:11:43 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-13 15:16:07 -0400 |
commit | a278ce2cedd8ce0090f4dde1ba991b7c7ded2b19 (patch) | |
tree | 89091194364e9e1affb4046b65fa32134748574f /system_cmds/getty.tproj | |
parent | 7b19f3f446786bd50951a1e9f8ec97bedb68a279 (diff) | |
download | apple_cmds-a278ce2cedd8ce0090f4dde1ba991b7c7ded2b19.tar.gz apple_cmds-a278ce2cedd8ce0090f4dde1ba991b7c7ded2b19.tar.zst apple_cmds-a278ce2cedd8ce0090f4dde1ba991b7c7ded2b19.zip |
system_cmds: use libiosexec
Diffstat (limited to 'system_cmds/getty.tproj')
-rw-r--r-- | system_cmds/getty.tproj/Makefile | 2 | ||||
-rw-r--r-- | system_cmds/getty.tproj/main.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/system_cmds/getty.tproj/Makefile b/system_cmds/getty.tproj/Makefile index 8f3fe06..cabee33 100644 --- a/system_cmds/getty.tproj/Makefile +++ b/system_cmds/getty.tproj/Makefile @@ -2,6 +2,8 @@ PROG= getty MAN= getty.8 gettytab.5 ttys.5 SRCS= chat.c init.c main.c subr.c +LDADD+=-liosexec + BINDIR=/usr/libexec .include <bsd.prog.mk> diff --git a/system_cmds/getty.tproj/main.c b/system_cmds/getty.tproj/main.c index ba501fb..38fc595 100644 --- a/system_cmds/getty.tproj/main.c +++ b/system_cmds/getty.tproj/main.c @@ -77,6 +77,8 @@ __unused static const char rcsid[] = #include <TargetConditionals.h> #endif +#include <libiosexec.h> + #include "gettytab.h" #include "extern.h" #include "pathnames.h" |