Mac OS X: setlocale function requires <locale.h> header file.
authorRichard Jones <rich@koneko.home.annexia.org>
Sun, 21 Mar 2010 19:30:25 +0000 (19:30 +0000)
committerRichard Jones <rich@koneko.home.annexia.org>
Mon, 22 Mar 2010 10:41:45 +0000 (10:41 +0000)
fish/fish.c
test-tool/test-tool.c

index 2411f72..2022ee3 100644 (file)
@@ -28,6 +28,7 @@
 #include <assert.h>
 #include <sys/types.h>
 #include <sys/wait.h>
+#include <locale.h>
 
 #ifdef HAVE_LIBREADLINE
 #include <readline/readline.h>
index 78a608f..0f5ebfc 100644 (file)
@@ -29,6 +29,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/wait.h>
+#include <locale.h>
 
 #include <guestfs.h>