summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2017-07-28 16:09:43 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2017-07-28 16:09:43 +0200
commit43cd40e8cec82bf66a24772ae27502f2c5b93577 (patch)
tree2858ec812204c2584fee0f6b735d7ec6cc62680b /src
parent5722d2ea4ca3eec0fe53f96e166d03df8cdb5c07 (diff)
downloadcalcurse-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.c1
-rw-r--r--src/strings.c2
-rw-r--r--src/utils.c1
3 files changed, 4 insertions, 0 deletions
diff --git a/src/io.c b/src/io.c
index bcbec23..6f87407 100644
--- a/src/io.c
+++ b/src/io.c
@@ -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>