]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commitdiff
Include stdint.h in sys/_types.h
authorVlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@stud.acs.upb.ro>
Tue, 17 Dec 2019 17:05:03 +0000 (17:05 +0000)
committerFelipe Huici <felipe.huici@neclab.eu>
Wed, 18 Dec 2019 10:11:26 +0000 (11:11 +0100)
stdatomic.h no longer builds because it's missing the definitions of
stdint.h that should come with sys/types.h .

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
include/sys/_types.h

index 972a7de0308c37a84b79f063f0e659b77e1b1b12..4b995616c768acc73d3bde25957e124a497df765 100644 (file)
@@ -37,6 +37,7 @@
 
 /* Use Unikraft type definitions */
 #include <uk/_types.h>
+#include <stdint.h>
 
 /* Provide _CLOCK_T_ */
 #define _CLOCK_T_ long /* clock() */