create profile for the WRT400N board
[openwrt/openwrt.git] / package / busybox / patches / 002-darwin_compile_fix.patch
1 --- a/include/libbb.h
2 +++ b/include/libbb.h
3 @@ -83,7 +83,10 @@
4 extern char **environ;
5
6 /* Set the group set for the current user to GROUPS (N of them). */
7 +#if !defined(__APPLE__)
8 int setgroups(size_t n, const gid_t *groups);
9 +#endif
10 +
11 #if defined(__GLIBC__) && __GLIBC__ < 2
12 int vdprintf(int d, const char *format, va_list ap);
13 #endif