fix busybox compile on mac os x

SVN-Revision: 12409
This commit is contained in:
Felix Fietkau 2008-08-27 19:35:47 +00:00
parent 7f6ee846b7
commit d42892ab5e

View file

@ -0,0 +1,13 @@
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -83,7 +83,10 @@
extern char **environ;
/* Set the group set for the current user to GROUPS (N of them). */
+#if !defined(__APPLE__)
int setgroups(size_t n, const gid_t *groups);
+#endif
+
#if defined(__GLIBC__) && __GLIBC__ < 2
int vdprintf(int d, const char *format, va_list ap);
#endif