discover: Add missing include
authorJeremy Kerr <jk@ozlabs.org>
Fri, 1 Aug 2014 01:27:29 +0000 (09:27 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 1 Aug 2014 03:22:15 +0000 (11:22 +0800)
We use setlocale() in device-handler.c, so we need locale.h

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
discover/device-handler.c

index 191ec33e52a153f8323f95f10c7278756fa1bf9d..2164b223b180f6b67176c5b656b1b9f34e42c299 100644 (file)
@@ -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>