浏览代码

- make sure __user is defined when including kernel's sigcontext.h

Bernhard Reutner-Fischer 16 年之前
父节点
当前提交
c5edfea211
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      libc/sysdeps/linux/common/bits/sigcontext.h

+ 3 - 0
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