[git commit 0_9_30] - make sure __user is defined when including kernel's sigcontext.h

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sat Oct 10 16:44:02 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=27546e42ef567d7df944675973d9ebfc46805ffe
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0_9_30

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 libc/sysdeps/linux/common/bits/sigcontext.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libc/sysdeps/linux/common/bits/sigcontext.h b/libc/sysdeps/linux/common/bits/sigcontext.h
index 67dcf94..35bf5bc 100644
--- a/libc/sysdeps/linux/common/bits/sigcontext.h
+++ b/libc/sysdeps/linux/common/bits/sigcontext.h
@@ -25,5 +25,8 @@
    we need sigcontext.  */
 # define sigcontext_struct sigcontext
 
+# ifndef __user
+# define __user
+# endif
 # include <asm/sigcontext.h>
 #endif
-- 
1.6.3.3



More information about the uClibc-cvs mailing list