From: Daniel P. Berrange Date: Tue, 22 Nov 2011 09:45:47 +0000 (+0000) Subject: Add strings.h include to capabilities.h for ffs() function prototype X-Git-Tag: v0.9.8-rc1~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=720442e245092c7230227ea8498d1a39e9c957b5;p=thirdparty%2Flibvirt.git Add strings.h include to capabilities.h for ffs() function prototype On Mingw32 the ffs() function was not declared due to missing header include * src/conf/capabilities.c: The ffs() function lives in strings.h --- diff --git a/src/conf/capabilities.c b/src/conf/capabilities.c index 87b60b0c3e..ac132f9ec4 100644 --- a/src/conf/capabilities.c +++ b/src/conf/capabilities.c @@ -23,6 +23,8 @@ #include +#include + #include "capabilities.h" #include "buf.h" #include "memory.h"