[libvirt] [PATCH] src/bridge.c compile error

Hi. The absense of SIOCBRADDBR causes compile error:
bridge.c:143: error: conflicting types for 'brAddBridge' bridge.h:50: error: previous declaration of 'brAddBridge' was here See attached patch for fix.
By the way, what functionality do one loose if his system isn't supporting SIOCBRADDBR?

On Mon, Apr 20, 2009 at 11:28:21AM +0400, Anton Protopopov wrote:
Hi.
The absense of SIOCBRADDBR causes compile error:
bridge.c:143: error: conflicting types for 'brAddBridge' bridge.h:50: error: previous declaration of 'brAddBridge' was here See attached patch for fix.
Makes sense, I also added a couple of missing ATTRIBUTE_UNUSED in brHasBridge() # else one page later, thanks ! Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/
participants (2)
-
Anton Protopopov
-
Daniel Veillard