[libvirt] [PATCH] Add strings.h include to capabilities.h for ffs() function prototype

22 Nov
2011
22 Nov
'11
10:46 a.m.
From: "Daniel P. Berrange" <berrange@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
5046
Age (days ago)
5046
Last active (days ago)
0 comments
1 participants
participants (1)
-
Daniel P. Berrange