]> xenbits.xensource.com Git - libvirt.git/commitdiff
Add strings.h include to capabilities.h for ffs() function prototype
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 22 Nov 2011 09:45:47 +0000 (09:45 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Tue, 22 Nov 2011 09:45:47 +0000 (09:45 +0000)
On Mingw32 the ffs() function was not declared due to missing header
include

* src/conf/capabilities.c: The ffs() function lives in strings.h

src/conf/capabilities.c

index 87b60b0c3e0fe899e11f3f9def43b945be6b33fd..ac132f9ec4c448f84f735e9a4ab1dc4e8ff0fe91 100644 (file)
@@ -23,6 +23,8 @@
 
 #include <config.h>
 
+#include <strings.h>
+
 #include "capabilities.h"
 #include "buf.h"
 #include "memory.h"