]> xenbits.xensource.com Git - unikraft/libs/musl.git/commitdiff
Include ucontext header files
authorMarco Schlumpp <marco@unikraft.io>
Tue, 18 Apr 2023 12:54:06 +0000 (14:54 +0200)
committerUnikraft <monkey@unikraft.io>
Thu, 4 May 2023 14:30:06 +0000 (14:30 +0000)
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 <marco@unikraft.io>
Reviewed-by: Eduard Vintilă <eduard.vintila47@gmail.com>
Reviewed-by: Sergiu Moga <sergiu.moga@protonmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #41

Makefile.uk.musl.process

index 96323068cd414d518317d29ed6495d0d58393bf9..891fa3da683b47527cf91c2256caaf5e2f5fc8fd 100644 (file)
@@ -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