Mac OS X: setlocale function requires locale.h
authorAlex Nelson <ajnelson@cs.ucsc.edu>
Tue, 6 Sep 2011 01:52:55 +0000 (18:52 -0700)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 6 Sep 2011 12:40:15 +0000 (13:40 +0100)
In the style of libguestfs commit:
9e397cc16be51f4f3940c7a5b90d0bc43f3f13a8

Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
sh/hivexsh.c
xml/hivexml.c

index 410851b..8831653 100644 (file)
@@ -27,6 +27,7 @@
 #include <unistd.h>
 #include <assert.h>
 #include <errno.h>
+#include <locale.h>
 
 #ifdef HAVE_LIBREADLINE
 #include <readline/readline.h>
index 804e503..d6a6303 100644 (file)
@@ -26,6 +26,7 @@
 #include <unistd.h>
 #include <errno.h>
 #include <time.h>
+#include <locale.h>
 
 #include <libxml/xmlwriter.h>