]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commitdiff
musl-imported: Add bits/alltypes.h
authorCostin Lupu <costin.lupu@cs.pub.ro>
Thu, 22 Aug 2019 10:10:42 +0000 (13:10 +0300)
committerCostin Lupu <costin.lupu@cs.pub.ro>
Mon, 26 Aug 2019 13:42:54 +0000 (16:42 +0300)
Most of the musl headers need a 'bits/alltypes.h' header. In order to avoid
changing this include directive, we use a trick: we add our own
'bits/alltypes.h' header which simply includes 'sys/types', where our types are
defined.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Charalampos Mainas <charalampos.mainas@neclab.eu>
musl-imported/arch/generic/bits/alltypes.h [new file with mode: 0644]

diff --git a/musl-imported/arch/generic/bits/alltypes.h b/musl-imported/arch/generic/bits/alltypes.h
new file mode 100644 (file)
index 0000000..a12c43b
--- /dev/null
@@ -0,0 +1 @@
+#include <sys/types.h>