Browse files

Mac OS X: setlocale function requires locale.h

In the style of libguestfs commit:
9e397cc16be51f4f3940c7a5b90d0bc43f3f13a8

Signed-off-by: Alex Nelson <ajnelson@cs.ucsc.edu>
  • Loading branch information...
1 parent 002be41 commit c34dc36dfca3b63275af00a00feef718d6f3afb4 @ajnelson committed with rwmjones Sep 5, 2011
Showing with 2 additions and 0 deletions.
  1. +1 −0 sh/hivexsh.c
  2. +1 −0 xml/hivexml.c
View
1 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>
View
1 xml/hivexml.c
@@ -26,6 +26,7 @@
#include <unistd.h>
#include <errno.h>
#include <time.h>
+#include <locale.h>
#include <libxml/xmlwriter.h>

0 comments on commit c34dc36

Please sign in to comment.