Преглед изворни кода

- 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