From ffd98ffec71ec6c7b7e7a96f5e6dce40077b3785 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 8 Dec 2006 21:05:37 +0000 Subject: 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. --- libc/sysdeps/linux/common/sysctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/sysctl.c') diff --git a/libc/sysdeps/linux/common/sysctl.c b/libc/sysdeps/linux/common/sysctl.c index 0d6f49185..3cd4f5e41 100644 --- a/libc/sysdeps/linux/common/sysctl.c +++ b/libc/sysdeps/linux/common/sysctl.c @@ -7,7 +7,7 @@ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ -#include "syscalls.h" +#include /* psm: including sys/sysctl.h would depend on kernel headers */ extern int sysctl (int *__name, int __nlen, void *__oldval, size_t *__oldlenp, void *__newval, size_t __newlen) __THROW; -- cgit v1.2.3