From b1ea2ae83b4bce2aa83982bc2109f8b5f46f5225 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 4 Dec 2020 11:19:02 -0700 Subject: [PATCH] everywhere: use ucontext.h instead of signal.h for pulling in ucontext definitions This allows building libucontext against newlib. --- arch/aarch64/makecontext.c | 2 +- arch/arm/makecontext.c | 2 +- arch/ppc/makecontext.c | 2 +- arch/ppc64/makecontext.c | 2 +- arch/riscv64/makecontext.c | 2 +- arch/s390x/makecontext.c | 2 +- arch/x86/makecontext.c | 2 +- arch/x86_64/makecontext.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/aarch64/makecontext.c b/arch/aarch64/makecontext.c index 162b6f1..fddf027 100644 --- a/arch/aarch64/makecontext.c +++ b/arch/aarch64/makecontext.c @@ -13,7 +13,7 @@ #define _GNU_SOURCE #include #include -#include +#include #include #include #include diff --git a/arch/arm/makecontext.c b/arch/arm/makecontext.c index aed94f0..3075880 100644 --- a/arch/arm/makecontext.c +++ b/arch/arm/makecontext.c @@ -13,7 +13,7 @@ #define _GNU_SOURCE #include #include -#include +#include #include #include #include diff --git a/arch/ppc/makecontext.c b/arch/ppc/makecontext.c index 0375137..a4990aa 100644 --- a/arch/ppc/makecontext.c +++ b/arch/ppc/makecontext.c @@ -13,7 +13,7 @@ #define _GNU_SOURCE #include -#include +#include #include diff --git a/arch/ppc64/makecontext.c b/arch/ppc64/makecontext.c index 8e277d4..8e91fe0 100644 --- a/arch/ppc64/makecontext.c +++ b/arch/ppc64/makecontext.c @@ -13,7 +13,7 @@ #define _GNU_SOURCE #include -#include +#include #include diff --git a/arch/riscv64/makecontext.c b/arch/riscv64/makecontext.c index c785b08..8fd26ed 100644 --- a/arch/riscv64/makecontext.c +++ b/arch/riscv64/makecontext.c @@ -13,7 +13,7 @@ #define _GNU_SOURCE #include #include -#include +#include #include #include #include diff --git a/arch/s390x/makecontext.c b/arch/s390x/makecontext.c index 488f768..82da273 100644 --- a/arch/s390x/makecontext.c +++ b/arch/s390x/makecontext.c @@ -13,7 +13,7 @@ #define _GNU_SOURCE #include #include -#include +#include #include #include diff --git a/arch/x86/makecontext.c b/arch/x86/makecontext.c index bc8163c..c4888cc 100644 --- a/arch/x86/makecontext.c +++ b/arch/x86/makecontext.c @@ -14,7 +14,7 @@ #define _GNU_SOURCE #include #include -#include +#include #include #include diff --git a/arch/x86_64/makecontext.c b/arch/x86_64/makecontext.c index 3a7fff7..dd070ef 100644 --- a/arch/x86_64/makecontext.c +++ b/arch/x86_64/makecontext.c @@ -13,7 +13,7 @@ #define _GNU_SOURCE #include #include -#include +#include #include #include