summaryrefslogtreecommitdiffstats
path: root/discover
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-08-01 09:27:29 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-08-01 11:22:15 +0800
commit0bc40319b0dcf8f97889a51ec9bc996fa741126c (patch)
tree87531a579e58a05a103e7e5f969a9cb5e2c0f29e /discover
parent254c2c4233377ba71d0f1c96a77d885c91f9ad4a (diff)
downloadtalos-petitboot-0bc40319b0dcf8f97889a51ec9bc996fa741126c.tar.gz
talos-petitboot-0bc40319b0dcf8f97889a51ec9bc996fa741126c.zip
discover: Add missing include
We use setlocale() in device-handler.c, so we need locale.h Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover')
-rw-r--r--discover/device-handler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/device-handler.c b/discover/device-handler.c
index 191ec33..2164b22 100644
--- a/discover/device-handler.c
+++ b/discover/device-handler.c
@@ -5,6 +5,7 @@
#include <string.h>
#include <errno.h>
#include <mntent.h>
+#include <locale.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/mount.h>
OpenPOWER on IntegriCloud