]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h
2.5-18.1
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / x86_64 / bits / sigcontext.h
index 08d4c52b2f17cf8e0de4650971ca367169ffc77a..c0d5fe72d444b0a1cb690b0aab8580bb0fdabe1c 100644 (file)
@@ -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;