From a77ace03480be878bd8192f084a75d2034901b66 Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Wed, 25 Aug 2004 23:42:46 +0000
Subject: 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
---
 libc/sysdeps/linux/arm/sys/ucontext.h | 1 +
 1 file changed, 1 insertion(+)

(limited to 'libc')

diff --git a/libc/sysdeps/linux/arm/sys/ucontext.h b/libc/sysdeps/linux/arm/sys/ucontext.h
index 5869edfd4..1260ee594 100644
--- a/libc/sysdeps/linux/arm/sys/ucontext.h
+++ b/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;
 
-- 
cgit v1.2.3