]> xenbits.xensource.com Git - unikraft/libs/libucontext.git/commit
Add patch for the original code
authorCharalampos Mainas <Charalampos.Mainas@neclab.eu>
Mon, 9 Sep 2019 09:58:00 +0000 (11:58 +0200)
committerCostin Lupu <costin.lup@gmail.com>
Mon, 9 Sep 2019 12:31:33 +0000 (15:31 +0300)
commit34d4388d8ac1a0dedd46833fd64ced79bc79e17f
tree256e94f046fc026b5fe19ea9a2dbc66a262a5784
parent02b28d552001f9be9faffd752d183c135533d488
Add patch for the original code

Replace signal.h with musl's ucontext.h. makecontext uses the struct
ucontext_t and this struct is defined in bits/signal.h which included
from ucontext.h. In musl signal.h includes bits/signal.h but this is not
the case with newlib which has no definition for ucontext_t struct.

Signed-off-by: Charalampos Mainas <Charalampos.Mainas@neclab.eu>
Reviewed-by: Costin Lupu <costin.lupu@cs.pub.ro>
patches/0001-Add-ucontext-header-file.patch [new file with mode: 0644]