summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hosts.c1
-rw-r--r--src/snprintf.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/hosts.c b/src/hosts.c
index aaf4fd9..a237bd8 100644
--- a/src/hosts.c
+++ b/src/hosts.c
@@ -105,6 +105,7 @@
#include "hosts.h"
#include "exitcode.h"
#include "snprintf.h"
+#include "config.h"
#ifdef HAVE_AVAHI
#include "zeroconf.h"
#define ZEROCONF_MAGIC "+zeroconf"
diff --git a/src/snprintf.h b/src/snprintf.h
index db2a19f..99c3e39 100644
--- a/src/snprintf.h
+++ b/src/snprintf.h
@@ -7,6 +7,7 @@
*/
#include <stdarg.h>
+#include "config.h"
#ifdef __GNUC__
/** Use gcc attribute to check printf fns. a1 is the 1-based index of