aboutsummaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-12 17:18:41 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-12 17:18:41 +0000
commitc89068455d8ce6a169c9e3e0f5c94d2658933fda (patch)
tree74a189326988362d562b17b8899c4606c8a53407 /qemu-common.h
parentbe3512610bdeebfaa40c63ae15d19d9fae991e1b (diff)
Include <strings.h> for ffs().
ffs() is in <strings.h> although bsd compatible systems have it in <string.h> already. ffs() is used in omap1.c, omap2.c, omap_i2c.c, bt-sdp.c. These uses can be replaced with clz32() but ffs is more available. Problem was spotted by malc. Make host-utils.h formatting more consistent. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5708 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h
index b82741bc02..7831409fba 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
+#include <strings.h>
#include <inttypes.h>
#include <limits.h>
#include <time.h>