projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
254c2c4
)
discover: Add missing include
author
Jeremy Kerr
<jk@ozlabs.org>
Fri, 1 Aug 2014 01:27:29 +0000
(09:27 +0800)
committer
Jeremy 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
patch
|
blob
|
history
diff --git
a/discover/device-handler.c
b/discover/device-handler.c
index 191ec33e52a153f8323f95f10c7278756fa1bf9d..2164b223b180f6b67176c5b656b1b9f34e42c299 100644
(file)
--- 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>