diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-07-23 10:57:55 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-07-23 11:14:30 -0400 |
commit | af8db35cc01c57b7d1d2e4fa7815df8c16f8454f (patch) | |
tree | 28f41421d20b59b8011ba3ea145a4a39d7aea019 | |
parent | 3a2efc3143d89d036794f2d8274794482cb2c961 (diff) |
Fix native compilationjellyfish_9.99.4jellyfish_9.99.3jellyfish_9.99.2jellyfish/9.99.4jellyfish/9.99.3jellyfish/9.99.29.99.49.99.39.99.2
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 <scott.murray@konsulko.com>
Change-Id: I73203e564c96d3eaea250ce8867149f6a155ec07
-rw-r--r-- | src/utils-systemd.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <string.h> #include <sys/types.h> #include <sys/stat.h> +#include <time.h> #ifndef NO_LIBSYSTEMD # include <systemd/sd-bus.h> |