Sfoglia il codice sorgente

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

Bernhard Reutner-Fischer 16 anni fa
parent
commit
c5edfea211
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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