aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2011-11-22 09:45:47 +0000
committerDaniel P. Berrange <berrange@redhat.com>2011-11-22 09:45:47 +0000
commit720442e245092c7230227ea8498d1a39e9c957b5 (patch)
treeb475629781eee3b83c67bb72ec02a973395c0fd0 /src/conf/capabilities.c
parentbuild: Update AUTHORS (diff)
downloadlibvirt-720442e245092c7230227ea8498d1a39e9c957b5.tar.gz
libvirt-720442e245092c7230227ea8498d1a39e9c957b5.tar.bz2
libvirt-720442e245092c7230227ea8498d1a39e9c957b5.zip
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
Diffstat (limited to 'src/conf/capabilities.c')
-rw-r--r--src/conf/capabilities.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf/capabilities.c b/src/conf/capabilities.c
index 87b60b0c3..ac132f9ec 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"