[uClibc-cvs] CVS update of uClibc/libc/sysdeps/linux/arm/sys (ucontext.h)

Erik Andersen andersen at codepoet.org
Wed Aug 25 23:42:46 UTC 2004

    Date: Wednesday, August 25, 2004 @ 17:42:46
  Author: andersen
    Path: /var/cvs/uClibc/libc/sysdeps/linux/arm/sys

Modified: ucontext.h (1.2 -> 1.3)

Mike Frysinger writes:

i sent this earlier but perhaps people missed it the first time around :)

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

Index: uClibc/libc/sysdeps/linux/arm/sys/ucontext.h
diff -u uClibc/libc/sysdeps/linux/arm/sys/ucontext.h:1.2 uClibc/libc/sysdeps/linux/arm/sys/ucontext.h:1.3
--- uClibc/libc/sysdeps/linux/arm/sys/ucontext.h:1.2	Mon Apr 21 13:07:26 2003
+++ uClibc/libc/sysdeps/linux/arm/sys/ucontext.h	Wed Aug 25 17:42:46 2004
@@ -24,6 +24,7 @@
 #include <features.h>
 #include <signal.h>
 #include <sys/procfs.h>
+#include <bits/sigcontext.h>
 typedef int greg_t;

More information about the uClibc-cvs mailing list