]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Fix compilation on MacOS X
authorLincoln Myers <lincoln_myers@yahoo.com>
Mon, 20 Feb 2012 03:21:00 +0000 (11:21 +0800)
committerDaniel Veillard <veillard@redhat.com>
Mon, 20 Feb 2012 03:21:00 +0000 (11:21 +0800)
* src/util/virfile.h: the virFileWrapperFdFlags being defined as
  a globa variable instead of a type ended up generating a duplicate
  symbol error.
* AUTHORS: added Lincoln Myers

AUTHORS
src/util/virfile.h

diff --git a/AUTHORS b/AUTHORS
index 7a1fb633092d73dde70cc6097c0224699eb015f8..7c2a6c4aac5cb98d505c85909d8b1357fd2b0108 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -220,6 +220,7 @@ Patches have also been contributed by:
   Ansis Atteka         <aatteka@nicira.com>
   Dan Wendlandt        <dan@nicira.com>
   Kyle Mestery         <kmestery@cisco.com>
+  Lincoln Myers        <lincoln_myers@yahoo.com>
 
   [....send patches to get your name here....]
 
index ec1e90bf65a71abdc0200f7b32eb6130e270dec4..184677c5974eb5ea02e266d9501d4cc5efa6eefa 100644 (file)
@@ -58,10 +58,10 @@ typedef virFileWrapperFd *virFileWrapperFdPtr;
 
 int virFileDirectFdFlag(void);
 
-enum {
+enum virFileWrapperFdFlags {
     VIR_FILE_WRAPPER_BYPASS_CACHE   = (1 << 0),
     VIR_FILE_WRAPPER_NON_BLOCKING   = (1 << 1),
-} virFileWrapperFdFlags;
+};
 
 virFileWrapperFdPtr virFileWrapperFdNew(int *fd,
                                         const char *name,