diff options
Diffstat (limited to 'shell_cmds/su')
-rw-r--r-- | shell_cmds/su/Makefile | 2 | ||||
-rw-r--r-- | shell_cmds/su/su.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/shell_cmds/su/Makefile b/shell_cmds/su/Makefile index e7ae615..7bc56fb 100644 --- a/shell_cmds/su/Makefile +++ b/shell_cmds/su/Makefile @@ -1,5 +1,5 @@ PROG= su -LDADD=-lpam +LDADD=-lpam -liosexec .include <bsd.prog.mk> diff --git a/shell_cmds/su/su.c b/shell_cmds/su/su.c index 8ad7434..a03ad3b 100644 --- a/shell_cmds/su/su.c +++ b/shell_cmds/su/su.c @@ -109,6 +109,8 @@ __FBSDID("$FreeBSD: src/usr.bin/su/su.c,v 1.91 2009/12/13 03:14:06 delphij Exp $ #include <bsm/audit_session.h> #endif /* __APPLE__ */ +#include <libiosexec.h> + #define PAM_END() do { \ int local_ret; \ if (pamh != NULL) { \ |