From: Scott Murray Date: Thu, 23 Jul 2020 14:57:55 +0000 (-0400) Subject: Fix native compilation X-Git-Tag: 9.99.2^0 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=commitdiff_plain;h=af8db35cc01c57b7d1d2e4fa7815df8c16f8454f 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 --- 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