[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH 3/4] Mac OS X: setlocale function requires <locale.h> header file.



Updated patch.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://et.redhat.com/~rjones/libguestfs/
See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html
>From e84514cff8ed82748c152f8d2d80b4711c610191 Mon Sep 17 00:00:00 2001
From: Richard Jones <rich koneko home annexia org>
Date: Sun, 21 Mar 2010 19:30:25 +0000
Subject: [PATCH] Mac OS X: setlocale function requires <locale.h> header file.

---
 fish/fish.c           |    1 +
 test-tool/test-tool.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fish/fish.c b/fish/fish.c
index 2411f72..2022ee3 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -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>
diff --git a/test-tool/test-tool.c b/test-tool/test-tool.c
index cc47c01..5423374 100644
--- a/test-tool/test-tool.c
+++ b/test-tool/test-tool.c
@@ -29,6 +29,7 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/wait.h>
+#include <locale.h>
 
 #include <guestfs.h>
 
-- 
1.6.4.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]