aboutsummaryrefslogtreecommitdiffstats
path: root/system_cmds/shutdown.tproj/shutdown.c
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-05-13 15:11:43 -0400
committerCameron Katri <me@cameronkatri.com>2021-05-13 15:16:07 -0400
commita278ce2cedd8ce0090f4dde1ba991b7c7ded2b19 (patch)
tree89091194364e9e1affb4046b65fa32134748574f /system_cmds/shutdown.tproj/shutdown.c
parent7b19f3f446786bd50951a1e9f8ec97bedb68a279 (diff)
downloadapple_cmds-a278ce2cedd8ce0090f4dde1ba991b7c7ded2b19.tar.gz
apple_cmds-a278ce2cedd8ce0090f4dde1ba991b7c7ded2b19.tar.zst
apple_cmds-a278ce2cedd8ce0090f4dde1ba991b7c7ded2b19.zip
system_cmds: use libiosexec
Diffstat (limited to 'system_cmds/shutdown.tproj/shutdown.c')
-rw-r--r--system_cmds/shutdown.tproj/shutdown.c2
1 files changed, 2 insertions, 0 deletions
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