mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
compel/ppc64: glibc renamed ucontext to ucontext_t
The upcoming glibc release renamed 'struct ucontext' to 'struct ucontext_t': https://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=251287734e89a52da3db682a8241eb6bccc050c9;hp=c86ed71d633c22d6f638576f7660c52a5f783d66 Instead of using 'struct ucontext' this patch changes it to the typedef ucontext_t which already exists in older and new versions of glibc. Signed-off-by: Adrian Reber <areber@redhat.com> Reviewed-by: Dmitry Safonov <dsafonov@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
parent
3ef506befc
commit
36576e2096
2 changed files with 4 additions and 4 deletions
|
|
@ -28,12 +28,12 @@
|
|||
#define TRAMP_SIZE 6
|
||||
|
||||
/*
|
||||
* ucontext defined in /usr/include/powerpc64le-linux-gnu/sys/ucontext.h
|
||||
* ucontext_t defined in /usr/include/powerpc64le-linux-gnu/sys/ucontext.h
|
||||
*/
|
||||
struct rt_sigframe {
|
||||
/* sys_rt_sigreturn requires the ucontext be the first field */
|
||||
struct ucontext uc;
|
||||
struct ucontext uc_transact; /* Transactional state */
|
||||
ucontext_t uc;
|
||||
ucontext_t uc_transact; /* Transactional state */
|
||||
unsigned long _unused[2];
|
||||
unsigned int tramp[TRAMP_SIZE];
|
||||
struct rt_siginfo *pinfo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue