summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2016-03-10 21:49:36 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2016-03-10 21:49:36 +0100
commit3c67c044f93b452aa483eb1246195ebb4443cb44 (patch)
treeb1f48568cda77b705f51a4d1796bfc8fe425b658 /libc
parentfbb7168a0109ec23662953625d38de09d2642d77 (diff)
ia64: sync with glibc headers
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/ia64/bits/sigcontext.h2
-rw-r--r--libc/sysdeps/linux/ia64/sys/ucontext.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/ia64/bits/sigcontext.h b/libc/sysdeps/linux/ia64/bits/sigcontext.h
index 97410db87..6c2b521cd 100644
--- a/libc/sysdeps/linux/ia64/bits/sigcontext.h
+++ b/libc/sysdeps/linux/ia64/bits/sigcontext.h
@@ -24,6 +24,8 @@
#ifndef _BITS_SIGCONTEXT_H
#define _BITS_SIGCONTEXT_H 1
+#define __need_size_t
+#include <stddef.h>
#include <bits/sigstack.h>
struct ia64_fpreg
diff --git a/libc/sysdeps/linux/ia64/sys/ucontext.h b/libc/sysdeps/linux/ia64/sys/ucontext.h
index 852500750..ef5656717 100644
--- a/libc/sysdeps/linux/ia64/sys/ucontext.h
+++ b/libc/sysdeps/linux/ia64/sys/ucontext.h
@@ -31,7 +31,7 @@
typedef struct sigcontext mcontext_t;
-#if defined __cplusplus && __GNUC_PREREQ (3, 5)
+#if __GNUC_PREREQ (3, 5)
# define _SC_GR0_OFFSET \
__builtin_offsetof (struct sigcontext, sc_gr[0])
#elif defined __GNUC__