From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43699) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCJhi-0002rP-Sb for qemu-devel@nongnu.org; Thu, 01 Dec 2016 00:14:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCJhh-0007MT-Ku for qemu-devel@nongnu.org; Thu, 01 Dec 2016 00:14:42 -0500 Received: from mail-yw0-x242.google.com ([2607:f8b0:4002:c05::242]:36811) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCJhh-0007Le-Du for qemu-devel@nongnu.org; Thu, 01 Dec 2016 00:14:41 -0500 Received: by mail-yw0-x242.google.com with SMTP id r204so16810622ywb.3 for ; Wed, 30 Nov 2016 21:14:41 -0800 (PST) From: Pranith Kumar Date: Thu, 1 Dec 2016 00:14:22 -0500 Message-Id: <20161201051433.17168-9-bobby.prani@gmail.com> In-Reply-To: <20161201051433.17168-1-bobby.prani@gmail.com> References: <20161201051433.17168-1-bobby.prani@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 08/19] Fix test-i386-fprem compilation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: alex.bennee@linaro.org Cc: qemu-devel@nongnu.org, rth@twiddle.net, =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= From: Marc-André Lureau This test doesn't depend on glib, and thus cannot use osdep.h. Signed-off-by: Marc-André Lureau Signed-off-by: Pranith Kumar --- tests/tcg/test-i386-fprem.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/tcg/test-i386-fprem.c b/tests/tcg/test-i386-fprem.c index 1a2b144..a258362 100644 --- a/tests/tcg/test-i386-fprem.c +++ b/tests/tcg/test-i386-fprem.c @@ -23,7 +23,11 @@ * along with this program; if not, see . */ -#include "qemu/osdep.h" +#include +#include +#include "qemu/compiler.h" + +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) /* * Inspired by 's union ieee854_long_double, but with single -- 2.10.2