[Libvir] Patch: include <locale.h> for setlocale

Richard W.M. Jones rjones at redhat.com
Wed Feb 28 16:14:30 UTC 2007


Very trivial, but useful for me because I'm trying to debug the remote 
stuff without -O, and without -O it turns out that libvirt doesn't compile.

Rich.

---------------------------------------
Index: proxy/libvirt_proxy.c
===================================================================
RCS file: /data/cvs/libvirt/proxy/libvirt_proxy.c,v
retrieving revision 1.12
diff -u -r1.12 libvirt_proxy.c
--- proxy/libvirt_proxy.c       23 Jan 2007 14:39:45 -0000      1.12
+++ proxy/libvirt_proxy.c       28 Feb 2007 16:08:05 -0000
@@ -17,6 +17,7 @@
  #include <sys/poll.h>
  #include <sys/socket.h>
  #include <sys/un.h>
+#include <locale.h>
  #include "internal.h"
  #include "proxy_internal.h"
  #include "xen_internal.h"
---------------------------------------


-- 
Emerging Technologies, Red Hat  http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF     Mobile: +44 7866 314 421
  "[Negative numbers] darken the very whole doctrines of the equations
  and make dark of the things which are in their nature excessively
  obvious and simple" (Francis Maseres FRS, mathematician, 1759)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070228/eecea7b6/attachment-0001.bin>


More information about the libvir-list mailing list