summaryrefslogtreecommitdiff
path: root/package/strace/strace-undef-syscall.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/strace/strace-undef-syscall.patch')
-rw-r--r--package/strace/strace-undef-syscall.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/strace/strace-undef-syscall.patch b/package/strace/strace-undef-syscall.patch
index ffb8acf79..b4291562f 100644
--- a/package/strace/strace-undef-syscall.patch
+++ b/package/strace/strace-undef-syscall.patch
@@ -44,7 +44,7 @@
@@ -2404,14 +2404,18 @@
switch (known_scno(tcp)) {
#ifdef LINUX
- #if !defined (ALPHA) && !defined(SPARC) && !defined(SPARC64) && !defined(MIPS) && !defined(HPPA)
+ #if !defined (ALPHA) && !defined(SPARC) && !defined(SPARC64) && !defined(MIPS) && !defined(HPPA) && !defined(AVR32)
+#ifdef __NR_socketcall
case SYS_socketcall:
decode_subcall(tcp, SYS_socket_subcall,
@@ -57,6 +57,6 @@
SYS_ipc_nsubcalls, shift_style);
break;
+#endif
- #endif /* !ALPHA && !MIPS && !SPARC && !SPARC64 && !HPPA */
+ #endif /* !ALPHA && !MIPS && !SPARC && !SPARC64 && !HPPA && !AVR32 */
#if defined (SPARC) || defined (SPARC64)
case SYS_socketcall: