From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz7Ey-0003PO-14 for qemu-devel@nongnu.org; Mon, 23 Jun 2014 12:37:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wz7Eo-0003uD-SU for qemu-devel@nongnu.org; Mon, 23 Jun 2014 12:37:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wz7Eo-0003tk-Gz for qemu-devel@nongnu.org; Mon, 23 Jun 2014 12:36:58 -0400 From: Luiz Capitulino Date: Mon, 23 Jun 2014 12:36:07 -0400 Message-Id: <1403541403-16468-8-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1403541403-16468-1-git-send-email-lcapitulino@redhat.com> References: <1403541403-16468-1-git-send-email-lcapitulino@redhat.com> Subject: [Qemu-devel] [PULL 07/43] os-posix: include sys/time.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org Cc: qemu-devel@nongnu.org, anthony@codemonkey.ws From: 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 Reviewed-by: Eric Blake Signed-off-by: Paolo Bonzini Signed-off-by: Luiz Capitulino --- include/sysemu/os-posix.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/sysemu/os-posix.h b/include/sysemu/os-posix.h index 25d0b2a..f131521 100644 --- a/include/sysemu/os-posix.h +++ b/include/sysemu/os-posix.h @@ -26,6 +26,8 @@ #ifndef QEMU_OS_POSIX_H #define QEMU_OS_POSIX_H +#include + void os_set_line_buffering(void); void os_set_proc_name(const char *s); void os_setup_signal_handling(void); -- 1.9.3