diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-02-23 18:49:50 +0100 |
---|---|---|
committer | Dale Mellor <black-hole@rdmp.org> | 2020-02-27 21:03:47 +0000 |
commit | 2427317b108f928979fd3ea799174ceac80e18fc (patch) | |
tree | 0da422e0cc6df2f17d53e911072889f3c86a13a5 | |
parent | a373317d96dc7191d8855d9a70106bf26d2c036b (diff) | |
download | mcron-2427317b108f928979fd3ea799174ceac80e18fc.tar.gz mcron-2427317b108f928979fd3ea799174ceac80e18fc.tar.bz2 mcron-2427317b108f928979fd3ea799174ceac80e18fc.zip |
Add missing #include directives.
<libguile.h> in Guile 2.x used to include these, but this is no longer
the case with 3.0.
* src/cron.c, src/mcron.h: Include <string.h>.
* src/utils.c: Include <stdio.h>.
-rw-r--r-- | src/cron.c | 1 | ||||
-rw-r--r-- | src/mcron.c | 1 | ||||
-rw-r--r-- | src/utils.c | 1 |
3 files changed, 3 insertions, 0 deletions
@@ -19,6 +19,7 @@ #include "utils.h" #include <signal.h> +#include <string.h> /* Forward declarations. */ static void inner_main (void *closure, int argc, char *argv[]); diff --git a/src/mcron.c b/src/mcron.c index 22cc680..c0b151a 100644 --- a/src/mcron.c +++ b/src/mcron.c @@ -19,6 +19,7 @@ #include "utils.h" #include <argp.h> +#include <string.h> /* Forward declarations. */ static void inner_main (void *closure, int argc, char *argv[]); diff --git a/src/utils.c b/src/utils.c index 3ea05f3..00a4150 100644 --- a/src/utils.c +++ b/src/utils.c @@ -18,6 +18,7 @@ #include "utils.h" #include <stdbool.h> +#include <stdio.h> void wrap_env_path (const char *envar, const char *dir) |