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