diff options
author | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2016-10-04 10:54:40 -0300 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2016-10-04 10:54:40 -0300 |
commit | 22938c4103a4b0b6e8d4b3d50a1c41e3f27dd73e (patch) | |
tree | 6acf0c8d1d729e6b90fee669b3bbee9ce1daf387 /sysdeps/unix/sysv/linux/powerpc/sys | |
parent | 7125ad021dd9f0c8998ccfbb9c0a5152c7a2131e (diff) | |
download | glibc-22938c4103a4b0b6e8d4b3d50a1c41e3f27dd73e.tar.gz |
powerpc: Installed-header hygiene
Fix powerpc-specific headers:
- Make it compatible to C89 by replace references to inline by __inline__.
- Get the definition of sigset_t used by
sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h.
- Includes missing header file.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/sys')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h | 1 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/sys/user.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h b/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h index c4634f68b5..e40bced8c5 100644 --- a/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h @@ -19,6 +19,7 @@ #define _SYS_UCONTEXT_H 1 #include <features.h> +#define __need_sigset_t #include <signal.h> /* We need the signal context definitions even if they are not exposed diff --git a/sysdeps/unix/sysv/linux/powerpc/sys/user.h b/sysdeps/unix/sysv/linux/powerpc/sys/user.h index 97459fba80..4f2ebc2535 100644 --- a/sysdeps/unix/sysv/linux/powerpc/sys/user.h +++ b/sysdeps/unix/sysv/linux/powerpc/sys/user.h @@ -18,6 +18,7 @@ #ifndef _SYS_USER_H #define _SYS_USER_H 1 +#include <stddef.h> #include <features.h> #include <asm/ptrace.h> |