Commit 506f40ff authored by Wenchao Xia's avatar Wenchao Xia Committed by Luiz Capitulino

os-posix: include sys/time.h

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: default avatarWenchao Xia <>
Reviewed-by: default avatarEric Blake <>
Signed-off-by: default avatarPaolo Bonzini <>
Signed-off-by: default avatarLuiz Capitulino <>
parent d5932334
......@@ -26,6 +26,8 @@
#include <sys/time.h>
void os_set_line_buffering(void);
void os_set_proc_name(const char *s);
void os_setup_signal_handling(void);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment