]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commit
Introduce <uk/_types.h> header for basic types defined by Unikraft
authorCostin Lupu <costin.lupu@cs.pub.ro>
Sun, 13 Oct 2019 13:37:29 +0000 (16:37 +0300)
committerFelipe Huici <felipe.huici@neclab.eu>
Wed, 16 Oct 2019 08:01:14 +0000 (10:01 +0200)
commit20ab04686a016b311c4e25f059cc9efb960b24df
treec2092fe12fe4546fe9c9a8ebbe85afa36ba6a090
parentc02e573015afb353094727ac3e7102d568e8d71d
Introduce <uk/_types.h> header for basic types defined by Unikraft

Newlib defines some fundamental data types in its <sys/_types.h> header. We need
to overwrite those definitions that are provided by Unikraft so we introduce the
<uk/_types.h> header. In order to use both our <uk/_types.h> and Newlib's
<sys/_types.h> we use an intermediary <sys/_types.h> header in which we can also
overwrite some other type definitions (e.g. _CLOCK_T_ in this patch).

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
include/sys/_types.h [new file with mode: 0644]
include/uk/_types.h [new file with mode: 0644]