1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-26 20:34:35 +02:00
openwrt-xburst/package/busybox/patches/002-darwin_compile_fix.patch
nbd 113ff08a1f fix busybox compile on mac os x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 19:35:47 +00:00

14 lines
344 B
Diff

--- 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