everywhere: use ucontext.h instead of signal.h for pulling in ucontext definitions

This allows building libucontext against newlib.
pull/21/head
Ariadne Conill 2020-12-04 11:19:02 -07:00
parent 34472b8884
commit b1ea2ae83b
8 changed files with 8 additions and 8 deletions

View File

@ -13,7 +13,7 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stddef.h> #include <stddef.h>
#include <stdarg.h> #include <stdarg.h>
#include <signal.h> #include <ucontext.h>
#include <string.h> #include <string.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>

View File

@ -13,7 +13,7 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stddef.h> #include <stddef.h>
#include <stdarg.h> #include <stdarg.h>
#include <signal.h> #include <ucontext.h>
#include <string.h> #include <string.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>

View File

@ -13,7 +13,7 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stdarg.h> #include <stdarg.h>
#include <signal.h> #include <ucontext.h>
#include <stdint.h> #include <stdint.h>

View File

@ -13,7 +13,7 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stdarg.h> #include <stdarg.h>
#include <signal.h> #include <ucontext.h>
#include <stdint.h> #include <stdint.h>

View File

@ -13,7 +13,7 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stddef.h> #include <stddef.h>
#include <stdarg.h> #include <stdarg.h>
#include <signal.h> #include <ucontext.h>
#include <string.h> #include <string.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>

View File

@ -13,7 +13,7 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stddef.h> #include <stddef.h>
#include <stdarg.h> #include <stdarg.h>
#include <signal.h> #include <ucontext.h>
#include <string.h> #include <string.h>
#include <stdint.h> #include <stdint.h>

View File

@ -14,7 +14,7 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stddef.h> #include <stddef.h>
#include <stdarg.h> #include <stdarg.h>
#include <signal.h> #include <ucontext.h>
#include <string.h> #include <string.h>
#include <stdint.h> #include <stdint.h>

View File

@ -13,7 +13,7 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stddef.h> #include <stddef.h>
#include <stdarg.h> #include <stdarg.h>
#include <signal.h> #include <ucontext.h>
#include <string.h> #include <string.h>
#include <stdint.h> #include <stdint.h>