lwp: Include signal.h instead of ucontext.h where possible

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
Markus Armbruster 2021-01-03 08:37:52 +01:00
parent eb0721507e
commit 16f0a07725
2 changed files with 4 additions and 3 deletions

View file

@ -30,12 +30,13 @@
* Known contributors to this file: * Known contributors to this file:
* Dave Pare, 1994 * Dave Pare, 1994
* Steve McClure, 1994-2000 * Steve McClure, 1994-2000
* Markus Armbruster, 2004-2008 * Markus Armbruster, 2004-2021
*/ */
#include <config.h> #include <config.h>
#include <stdlib.h> #include <stdlib.h>
#include <ucontext.h>
#include "lwpint.h" #include "lwpint.h"
/* /*

View file

@ -28,14 +28,14 @@
* lwpint.h: lwp internal structures * lwpint.h: lwp internal structures
* *
* Known contributors to this file: * Known contributors to this file:
* Markus Armbruster, 2004-2020 * Markus Armbruster, 2004-2021
*/ */
#ifndef LWPINT_H #ifndef LWPINT_H
#define LWPINT_H #define LWPINT_H
#include <time.h> #include <time.h>
#include <ucontext.h> #include <signal.h>
#include "misc.h" #include "misc.h"