Without this patch compilation fails with lib/cobalt/clock.c:251: error: conflicting types for '__wrap_clock_adjtime' include/cobalt/time.h:43: error: previous declaration of '__wrap_clock_adjtime' was here lib/cobalt/clock.c:251: error: conflicting types for '__cobalt_clock_adjtime' include/cobalt/time.h:43: error: previous declaration of '__cobalt_clock_adjtime' was here
Signed-off-by: Sebastian Smolorz <sebastian.smol...@gmx.de> --- include/cobalt/time.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/cobalt/time.h b/include/cobalt/time.h index 9bafe34..6c65c77 100644 --- a/include/cobalt/time.h +++ b/include/cobalt/time.h @@ -23,6 +23,7 @@ /* Re-read in case we came from selective __need* block. */ #include_next <time.h> +#include <sys/timex.h> #include <cobalt/wrappers.h> #include <cobalt/uapi/time.h> -- 2.7.4