diff options
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/syscalls.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c index 487df4adb..ce1bffe26 100644 --- a/libc/sysdeps/linux/common/syscalls.c +++ b/libc/sysdeps/linux/common/syscalls.c @@ -936,9 +936,10 @@ _syscall2(int, fstatfs, int, fd, struct statfs *, buf); #endif //#define __NR_socketcall 102 -#ifdef L_socketcall +#ifdef L___socketcall #ifdef __NR_socketcall -_syscall2(int, socketcall, int, call, unsigned long *, args); +#define __NR___socketcall __NR_socketcall +_syscall2(int, __socketcall, int, call, unsigned long *, args); #endif #endif |