summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-01-22 08:49:56 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-01-22 08:49:56 +0000
commitc5edfea211a5bc72002f027f82dba8c9d86c95e8 (patch)
treef550eefadde83e362520f27ba80a38098d0c9d5c /libc/sysdeps
parent1df91c2a061664ff1411433e849496011240d898 (diff)
- make sure __user is defined when including kernel's sigcontext.h
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/bits/sigcontext.h3
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 67dcf9498..35bf5bc89 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