From af8db35cc01c57b7d1d2e4fa7815df8c16f8454f Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 23 Jul 2020 10:57:55 -0400 Subject: [PATCH] Fix native compilation The use of nanosleep in the previous job wait change fails to build for me when building af-main-native, so add the required #include of time.h. It's not clear to me right off why it actually built for the target without it, that behavior difference may warrant some further investigation. Bug-AGL: SPEC-3365, SPEC-3427, SPEC-3457 Signed-off-by: Scott Murray Change-Id: I73203e564c96d3eaea250ce8867149f6a155ec07 --- src/utils-systemd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils-systemd.c b/src/utils-systemd.c index 8ccb81b..5438500 100644 --- a/src/utils-systemd.c +++ b/src/utils-systemd.c @@ -26,6 +26,7 @@ #include #include #include +#include #ifndef NO_LIBSYSTEMD # include -- 2.16.6