Alex Nelson
2011-Sep-06 01:52 UTC
[Libguestfs] [PATCH 2/3] Mac OS X: setlocale function requires locale.h
In the style of libguestfs commit: 9e397cc16be51f4f3940c7a5b90d0bc43f3f13a8 Signed-off-by: Alex Nelson <ajnelson at cs.ucsc.edu> --- sh/hivexsh.c | 1 + xml/hivexml.c | 1 + 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> -- 1.7.4.4