Parcourir la source

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

Bernhard Reutner-Fischer il y a 16 ans
Parent
commit
c5edfea211
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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