From a8394af5f2db2bbb57414ffa4d4fc260e2aac3e9 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Wed, 25 Feb 2009 17:11:51 +0100 Subject: [PATCH] Guard _struct_sigaction32_u with ifdef CONFIG_COMPAT. * tapset/aux_syscalls.stp (_struct_sigaction_u): Only needed and compiles when CONFIG_COMPAT defined. --- tapset/aux_syscalls.stp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index 42b2abf85..d2e439033 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -1790,6 +1790,7 @@ function _struct_sigaction_u:string(uaddr:long) function _struct_sigaction32_u:string(uaddr:long) %{ /* pure */ +#ifdef CONFIG_COMPAT #include // There seems to be no public cross arch header that defines this. @@ -1831,4 +1832,5 @@ function _struct_sigaction32_u:string(uaddr:long) else strlcpy (THIS->__retvalue, "UNKNOWN", MAXSTRINGLEN); } +#endif %} -- 2.43.5