[libvirt] FYI: [PATCH] Missing include file

Richard W.M. Jones rjones at redhat.com
Wed Sep 17 14:27:59 UTC 2008


Just FYI, I applied the following minor patch which fixes the build
when configured with --enable-compile-warnings=error.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
Read my OCaml programming blog: http://camltastic.blogspot.com/
Fedora now supports 68 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
-------------- next part --------------
Index: src/storage_backend_disk.c
===================================================================
RCS file: /data/cvs/libvirt/src/storage_backend_disk.c,v
retrieving revision 1.10
diff -u -r1.10 storage_backend_disk.c
--- src/storage_backend_disk.c	16 Sep 2008 16:46:08 -0000	1.10
+++ src/storage_backend_disk.c	17 Sep 2008 14:29:14 -0000
@@ -23,6 +23,7 @@
 
 #include <config.h>
 #include <string.h>
+#include <unistd.h>
 
 #include "internal.h"
 #include "storage_backend_disk.h"


More information about the libvir-list mailing list