aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkremlin <ian@kremlin.cc>2014-07-15 13:09:59 +0800
committerkremlin <ian@kremlin.cc>2014-07-15 13:09:59 +0800
commitcd16a5882c39d08a52e6a4cff1ad30938170caf3 (patch)
treef3df9b95e0c84c5f218502adbf6c4ddbdd25899b
parenta4e2e9adf324a4e8c672aaee05521ab689318845 (diff)
downloadsystembsd-cd16a5882c39d08a52e6a4cff1ad30938170caf3.tar
systembsd-cd16a5882c39d08a52e6a4cff1ad30938170caf3.tar.gz
systembsd-cd16a5882c39d08a52e6a4cff1ad30938170caf3.tar.bz2
systembsd-cd16a5882c39d08a52e6a4cff1ad30938170caf3.tar.lz
systembsd-cd16a5882c39d08a52e6a4cff1ad30938170caf3.tar.xz
systembsd-cd16a5882c39d08a52e6a4cff1ad30938170caf3.tar.zst
systembsd-cd16a5882c39d08a52e6a4cff1ad30938170caf3.zip
include gprintf.h in hostnamed.c/localed.c to allow strict compilation
-rw-r--r--src/interfaces/hostnamed/hostnamed.c2
-rw-r--r--src/interfaces/localed/localed.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/interfaces/hostnamed/hostnamed.c b/src/interfaces/hostnamed/hostnamed.c
index 0cdbd36..3d1b3d2 100644
--- a/src/interfaces/hostnamed/hostnamed.c
+++ b/src/interfaces/hostnamed/hostnamed.c
@@ -19,6 +19,8 @@
#include <sys/param.h>
+#include <glib/gprintf.h>
+
#include "hostnamed-gen.h"
GPtrArray *hostnamed_freeable;
diff --git a/src/interfaces/localed/localed.c b/src/interfaces/localed/localed.c
index d6bf1aa..1c628da 100644
--- a/src/interfaces/localed/localed.c
+++ b/src/interfaces/localed/localed.c
@@ -17,6 +17,8 @@
#include <unistd.h>
#include <limits.h>
+#include <glib/gprintf.h>
+
#include "localed-gen.h"
GPtrArray *localed_freeable;