Re: [Qemu-devel] [PATCH RFC 1/3] os-posix: include sys/time.h

2013-12-13 Thread Eric Blake
On 11/12/2013 06:44 PM, Wenchao Xia wrote: Since gettimeofday() is used in this header file as a macro define, include the function's define header file, to avoid compile warning when other file include os-posix.h. Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com ---

[Qemu-devel] [PATCH RFC 1/3] os-posix: include sys/time.h

2013-11-13 Thread Wenchao Xia
Since gettimeofday() is used in this header file as a macro define, include the function's define header file, to avoid compile warning when other file include os-posix.h. Signed-off-by: Wenchao Xia xiaw...@linux.vnet.ibm.com --- include/sysemu/os-posix.h |2 ++ 1 files changed, 2