lwp: Include signal.h instead of ucontext.h where possible
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 3 Jan 2021 07:37:52 +0000 (08:37 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 17 Jan 2021 20:24:29 +0000 (21:24 +0100)
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/lwp/arch.c
src/lib/lwp/lwpint.h

index 3249fb037fab618a0c97661cd056ec8e663d9199..7afc3acd767f2d0ef8fd2b3ab8ca9b3859ba8362 100644 (file)
  *  Known contributors to this file:
  *     Dave Pare, 1994
  *     Steve McClure, 1994-2000
- *     Markus Armbruster, 2004-2008
+ *     Markus Armbruster, 2004-2021
  */
 
 #include <config.h>
 
 #include <stdlib.h>
+#include <ucontext.h>
 #include "lwpint.h"
 
 /*
index a107340337a70f6d03562358e68464ac2b020347..d46c55e85c554e4749f86cd0194aa0b696b9ca8e 100644 (file)
  *  lwpint.h: lwp internal structures
  *
  *  Known contributors to this file:
- *     Markus Armbruster, 2004-2020
+ *     Markus Armbruster, 2004-2021
  */
 
 #ifndef LWPINT_H
 #define LWPINT_H
 
 #include <time.h>
-#include <ucontext.h>
+#include <signal.h>
 
 #include "misc.h"