From: "Daniel P. Berrange" <berrange(a)redhat.com>
Pushed the following to fix the build on mingw32
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 | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/conf/capabilities.c b/src/conf/capabilities.c
index 87b60b0..ac132f9 100644
--- a/src/conf/capabilities.c
+++ b/src/conf/capabilities.c
@@ -23,6 +23,8 @@
#include <config.h>
+#include <strings.h>
+
#include "capabilities.h"
#include "buf.h"
#include "memory.h"
--
1.7.6.4
Show replies by date