From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:60987) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gj3ZT-0006Ze-2E for qemu-devel@nongnu.org; Mon, 14 Jan 2019 09:50:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gj3ZS-0007h6-3K for qemu-devel@nongnu.org; Mon, 14 Jan 2019 09:50:35 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:40438) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gj3ZR-0007eV-98 for qemu-devel@nongnu.org; Mon, 14 Jan 2019 09:50:33 -0500 Received: by mail-wr1-x442.google.com with SMTP id p4so23173325wrt.7 for ; Mon, 14 Jan 2019 06:50:30 -0800 (PST) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= Date: Mon, 14 Jan 2019 14:50:19 +0000 Message-Id: <20190114145019.22819-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [RFC PATCH] gcov: move gmon.h include List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Riku Voipio , Laurent Vivier This got missed when preexit_cleanup got moved into it's own file and is apparently can get included as a side-effect so is only noticeable on some systems. Signed-off-by: Alex Bennée --- linux-user/exit.c | 3 +++ linux-user/syscall.c | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/linux-user/exit.c b/linux-user/exit.c index 14e94e28fa..bdda720553 100644 --- a/linux-user/exit.c +++ b/linux-user/exit.c @@ -18,6 +18,9 @@ */ #include "qemu/osdep.h" #include "qemu.h" +#ifdef TARGET_GPROF +#include +#endif #ifdef CONFIG_GCOV extern void __gcov_dump(void); diff --git a/linux-user/syscall.c b/linux-user/syscall.c index b5786d4fc1..7bbedb305f 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -59,9 +59,6 @@ #ifdef CONFIG_TIMERFD #include #endif -#ifdef TARGET_GPROF -#include -#endif #ifdef CONFIG_EVENTFD #include #endif -- 2.17.1