aboutsummaryrefslogtreecommitdiff
path: root/qemu-os-win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-os-win32.h')
-rw-r--r--qemu-os-win32.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/qemu-os-win32.h b/qemu-os-win32.h
index ed2753d..8a069d7 100644
--- a/qemu-os-win32.h
+++ b/qemu-os-win32.h
@@ -29,6 +29,9 @@
#include <windows.h>
#include <winsock2.h>
+/* Declaration of ffs() is missing in MinGW's strings.h. */
+int ffs(int i);
+
/* Polling handling */
/* return TRUE if no sleep should be done afterwards */