diff options
Diffstat (limited to 'system_cmds/getty.tproj')
-rw-r--r-- | system_cmds/getty.tproj/Makefile | 9 | ||||
-rw-r--r-- | system_cmds/getty.tproj/main.c | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/system_cmds/getty.tproj/Makefile b/system_cmds/getty.tproj/Makefile new file mode 100644 index 0000000..cabee33 --- /dev/null +++ b/system_cmds/getty.tproj/Makefile @@ -0,0 +1,9 @@ +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" |