Commit c6d29ad6e24533cc3762e1d654275607e1d03058
1 parent
4f8eb8da
Add missing ffs() declaration for Win32 hosts, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3821 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
osdep.h
| @@ -56,6 +56,8 @@ void *get_mmap_addr(unsigned long size); | @@ -56,6 +56,8 @@ void *get_mmap_addr(unsigned long size); | ||
| 56 | int qemu_create_pidfile(const char *filename); | 56 | int qemu_create_pidfile(const char *filename); |
| 57 | 57 | ||
| 58 | #ifdef _WIN32 | 58 | #ifdef _WIN32 |
| 59 | +int ffs(int i); | ||
| 60 | + | ||
| 59 | typedef struct { | 61 | typedef struct { |
| 60 | long tv_sec; | 62 | long tv_sec; |
| 61 | long tv_usec; | 63 | long tv_usec; |