diff options
Diffstat (limited to 'system_cmds/shutdown.tproj')
-rw-r--r-- | system_cmds/shutdown.tproj/Makefile | 2 | ||||
-rw-r--r-- | system_cmds/shutdown.tproj/shutdown.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/system_cmds/shutdown.tproj/Makefile b/system_cmds/shutdown.tproj/Makefile index 4f24191..3d12099 100644 --- a/system_cmds/shutdown.tproj/Makefile +++ b/system_cmds/shutdown.tproj/Makefile @@ -1,7 +1,7 @@ PROG= shutdown MAN= shutdown.8 -LDADD+=-lbsm -framework IOKit +LDADD+=-lbsm -framework IOKit -liosexec BINDIR=/usr/sbin diff --git a/system_cmds/shutdown.tproj/shutdown.c b/system_cmds/shutdown.tproj/shutdown.c index f5d8dd4..021ce59 100644 --- a/system_cmds/shutdown.tproj/shutdown.c +++ b/system_cmds/shutdown.tproj/shutdown.c @@ -86,6 +86,8 @@ __FBSDID("$FreeBSD: src/sbin/shutdown/shutdown.c,v 1.28 2005/01/25 08:40:51 delp #include "pathnames.h" #endif /* __APPLE__ */ +#include <libiosexec.h> + int reboot3(int); #ifdef DEBUG |