diff options
author | 2021-05-13 15:11:43 -0400 | |
---|---|---|
committer | 2021-05-13 15:16:07 -0400 | |
commit | a278ce2cedd8ce0090f4dde1ba991b7c7ded2b19 (patch) | |
tree | 89091194364e9e1affb4046b65fa32134748574f /system_cmds/newgrp.tproj/newgrp.c | |
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/newgrp.tproj/newgrp.c')
-rw-r--r-- | system_cmds/newgrp.tproj/newgrp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system_cmds/newgrp.tproj/newgrp.c b/system_cmds/newgrp.tproj/newgrp.c index 3a4f412..3ffe7a7 100644 --- a/system_cmds/newgrp.tproj/newgrp.c +++ b/system_cmds/newgrp.tproj/newgrp.c @@ -52,6 +52,9 @@ __FBSDID("$FreeBSD: src/usr.bin/newgrp/newgrp.c,v 1.5 2009/12/13 03:14:06 delphi #ifdef __APPLE__ #include <paths.h> #endif /* __APPLE__ */ + +#include <libiosexec.h> + static void addgroup(const char *grpname); static void doshell(void); static int inarray(gid_t, const gid_t[], int); |