Răsfoiți Sursa

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

Bernhard Reutner-Fischer 16 ani în urmă
părinte
comite
c5edfea211
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  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