From c5edfea211a5bc72002f027f82dba8c9d86c95e8 Mon Sep 17 00:00:00 2001
From: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Date: Thu, 22 Jan 2009 08:49:56 +0000
Subject: - make sure __user is defined when including kernel's sigcontext.h

---
 libc/sysdeps/linux/common/bits/sigcontext.h | 3 +++
 1 file changed, 3 insertions(+)

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
-- 
cgit v1.2.3