From 8105c95d34eda53619393161699b31b8deade542 Mon Sep 17 00:00:00 2001 From: Marco Schlumpp Date: Tue, 18 Apr 2023 14:54:06 +0200 Subject: [PATCH] Include ucontext header files MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit While musl doesn't provide an actual implementation for the legacy ucontext API, the header is still useful to compile software against musl. Also, some software only relies on the definitions in the header. Signed-off-by: Marco Schlumpp Reviewed-by: Eduard Vintilă Reviewed-by: Sergiu Moga Approved-by: Razvan Deaconescu Tested-by: Unikraft CI GitHub-Closes: #41 --- Makefile.uk.musl.process | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.uk.musl.process b/Makefile.uk.musl.process index 9632306..891fa3d 100644 --- a/Makefile.uk.musl.process +++ b/Makefile.uk.musl.process @@ -14,6 +14,8 @@ LIBMUSL_PROCESS_HDRS-y += $(LIBMUSL)/include/stdlib.h LIBMUSL_PROCESS_HDRS-y += $(LIBMUSL)/include/string.h LIBMUSL_PROCESS_HDRS-y += $(LIBMUSL)/include/syscall.h LIBMUSL_PROCESS_HDRS-y += $(LIBMUSL)/include/sys/wait.h +LIBMUSL_PROCESS_HDRS-y += $(LIBMUSL)/include/sys/ucontext.h +LIBMUSL_PROCESS_HDRS-y += $(LIBMUSL)/include/ucontext.h LIBMUSL_PROCESS_HDRS-y += $(LIBMUSL)/include/unistd.h LIBMUSL_PROCESS_SRCS-y += $(LIBMUSL)/src/process/execve.c -- 2.39.5