Browse Source

Mike Frysinger writes:

i sent this earlier but perhaps people missed it the first time around :)
http://www.uclibc.org/lists/uclibc/2004-August/009544.html

basically if you try to #include <sys/ucontext.h> on arm it'll fail because
ucontext.h utilizes typedefs found in bits/sigcontext.h ... i386 already has
this fix in uClibc

find attached a trivial patch to fix this
-mike
Eric Andersen 21 years ago
parent
commit
a77ace0348
1 changed files with 1 additions and 0 deletions
  1. 1 0
      libc/sysdeps/linux/arm/sys/ucontext.h

+ 1 - 0
libc/sysdeps/linux/arm/sys/ucontext.h

@@ -24,6 +24,7 @@
 #include <features.h>
 #include <signal.h>
 #include <sys/procfs.h>
+#include <bits/sigcontext.h>
 
 typedef int greg_t;