]> git.saurik.com Git - apple/system_cmds.git/blobdiff - newgrp.tproj/newgrp.c
system_cmds-597.1.1.tar.gz
[apple/system_cmds.git] / newgrp.tproj / newgrp.c
index 0e1e8eca110186721ad49a714de44ff669fe3e9a..d0004f7823b8cbe5372b31637669a021f06ed56b 100644 (file)
@@ -41,6 +41,9 @@ __FBSDID("$FreeBSD: src/usr.bin/newgrp/newgrp.c,v 1.5 2009/12/13 03:14:06 delphi
 #ifndef __APPLE__
 #include <login_cap.h>
 #endif /* !__APPLE__ */
+#ifdef __APPLE__
+#include <membership.h>
+#endif /* __APPLE__ */
 #include <pwd.h>
 #include <stdio.h>
 #include <stdlib.h>