summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/x86_64/bits
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-08 01:30:31 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-08 01:30:31 +0000
commitdf53724ea50a52b7ef8552b003bcf235b0e49898 (patch)
treeb44b4a77e82578faf4430f0db7f55633e5e4212a /libc/sysdeps/linux/x86_64/bits
parent1ecf6c370896c19a090cec988c6708fc77165378 (diff)
sync with glibc
Diffstat (limited to 'libc/sysdeps/linux/x86_64/bits')
-rw-r--r--libc/sysdeps/linux/x86_64/bits/sigcontext.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/x86_64/bits/sigcontext.h b/libc/sysdeps/linux/x86_64/bits/sigcontext.h
index 08d4c52b2..c0d5fe72d 100644
--- a/libc/sysdeps/linux/x86_64/bits/sigcontext.h
+++ b/libc/sysdeps/linux/x86_64/bits/sigcontext.h
@@ -70,6 +70,14 @@ struct _fpstate
__uint32_t padding[56];
};
+#ifndef sigcontext_struct
+/* Kernel headers before 2.1.1 define a struct sigcontext_struct, but
+ we need sigcontext. Some packages have come to rely on
+ sigcontext_struct being defined on 32-bit x86, so define this for
+ their benefit. */
+# define sigcontext_struct sigcontext
+#endif
+
struct sigcontext
{
unsigned short gs, __gsh;