summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Nelson <ajnelson@cs.ucsc.edu>2011-09-05 18:52:55 -0700
committerRichard W.M. Jones <rjones@redhat.com>2011-09-06 13:40:15 +0100
commitc34dc36dfca3b63275af00a00feef718d6f3afb4 (patch)
tree660c4b321b28ed8117b1e7c85f7ab77feb68a37f
parent002be41389452c705d14ba9c263c0e271f31f17b (diff)
downloadhivex-c34dc36dfca3b63275af00a00feef718d6f3afb4.tar.gz
hivex-c34dc36dfca3b63275af00a00feef718d6f3afb4.tar.xz
hivex-c34dc36dfca3b63275af00a00feef718d6f3afb4.zip
Mac OS X: setlocale function requires locale.h
In the style of libguestfs commit: 9e397cc16be51f4f3940c7a5b90d0bc43f3f13a8 Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
-rw-r--r--sh/hivexsh.c1
-rw-r--r--xml/hivexml.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sh/hivexsh.c b/sh/hivexsh.c
index 410851b..8831653 100644
--- a/sh/hivexsh.c
+++ b/sh/hivexsh.c
@@ -27,6 +27,7 @@
#include <unistd.h>
#include <assert.h>
#include <errno.h>
+#include <locale.h>
#ifdef HAVE_LIBREADLINE
#include <readline/readline.h>
diff --git a/xml/hivexml.c b/xml/hivexml.c
index 804e503..d6a6303 100644
--- a/xml/hivexml.c
+++ b/xml/hivexml.c
@@ -26,6 +26,7 @@
#include <unistd.h>
#include <errno.h>
#include <time.h>
+#include <locale.h>
#include <libxml/xmlwriter.h>