aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 815a3f3d2..3b4715e33 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -80,8 +80,10 @@
80#endif 80#endif
81 81
82/* Some libc's forget to declare these, do it ourself */ 82/* Some libc's forget to declare these, do it ourself */
83extern char **environ;
84 83
84extern char **environ;
85/* Set the group set for the current user to GROUPS (N of them). */
86int setgroups(size_t n, const gid_t *groups);
85#if defined(__GLIBC__) && __GLIBC__ < 2 87#if defined(__GLIBC__) && __GLIBC__ < 2
86int vdprintf(int d, const char *format, va_list ap); 88int vdprintf(int d, const char *format, va_list ap);
87#endif 89#endif
@@ -107,7 +109,7 @@ struct sysinfo {
107 unsigned long totalhigh; /* Total high memory size */ 109 unsigned long totalhigh; /* Total high memory size */
108 unsigned long freehigh; /* Available high memory size */ 110 unsigned long freehigh; /* Available high memory size */
109 unsigned int mem_unit; /* Memory unit size in bytes */ 111 unsigned int mem_unit; /* Memory unit size in bytes */
110 char _f[20 - 2*sizeof(long) - sizeof(int)]; /* Padding: libc5 uses this.. */ 112 char _f[20 - 2 * sizeof(long) - sizeof(int)]; /* Padding: libc5 uses this.. */
111}; 113};
112int sysinfo(struct sysinfo* info); 114int sysinfo(struct sysinfo* info);
113 115