summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/setgroups.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2006-12-08 21:05:37 +0000
committerEric Andersen <andersen@codepoet.org>2006-12-08 21:05:37 +0000
commitffd98ffec71ec6c7b7e7a96f5e6dce40077b3785 (patch)
tree8a4e7657ff8a625f06dc77ba07320ae66adc48ad /libc/sysdeps/linux/common/setgroups.c
parent3da17f3cd0e0dd6818b42074fc6565a830e3b7be (diff)
downloaduClibc-alpine-ffd98ffec71ec6c7b7e7a96f5e6dce40077b3785.tar.bz2
uClibc-alpine-ffd98ffec71ec6c7b7e7a96f5e6dce40077b3785.tar.xz
Take Mike Frysinger's comments into account -- make certain that user
applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
Diffstat (limited to 'libc/sysdeps/linux/common/setgroups.c')
-rw-r--r--libc/sysdeps/linux/common/setgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/setgroups.c b/libc/sysdeps/linux/common/setgroups.c
index 49f3dc61f..7bfcc6c20 100644
--- a/libc/sysdeps/linux/common/setgroups.c
+++ b/libc/sysdeps/linux/common/setgroups.c
@@ -7,7 +7,7 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-#include "syscalls.h"
+#include <sys/syscall.h>
#include <stdlib.h>
#include <unistd.h>
#include <grp.h>