diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2017-07-28 16:09:43 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2017-07-28 16:09:43 +0200 |
commit | 43cd40e8cec82bf66a24772ae27502f2c5b93577 (patch) | |
tree | 2858ec812204c2584fee0f6b735d7ec6cc62680b /src | |
parent | 5722d2ea4ca3eec0fe53f96e166d03df8cdb5c07 (diff) | |
download | calcurse-43cd40e8cec82bf66a24772ae27502f2c5b93577.tar.gz calcurse-43cd40e8cec82bf66a24772ae27502f2c5b93577.zip |
Include stdarg.h when using variable argument lists
Fixes GitHub issue #36.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/io.c | 1 | ||||
-rw-r--r-- | src/strings.c | 2 | ||||
-rw-r--r-- | src/utils.c | 1 |
3 files changed, 4 insertions, 0 deletions
@@ -34,6 +34,7 @@ * */ +#include <stdarg.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> diff --git a/src/strings.c b/src/strings.c index 1af5e63..816ddc1 100644 --- a/src/strings.c +++ b/src/strings.c @@ -34,6 +34,8 @@ * */ +#include <stdarg.h> + #include "calcurse.h" #define STRING_INITIAL_BUFSIZE 128 diff --git a/src/utils.c b/src/utils.c index 588dc8d..9d131ad 100644 --- a/src/utils.c +++ b/src/utils.c @@ -35,6 +35,7 @@ */ #include <time.h> +#include <stdarg.h> #include <string.h> #include <strings.h> #include <stdlib.h> |