[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 08/19] Fix test-i386-fprem compilation
From: |
Pranith Kumar |
Subject: |
[Qemu-devel] [PATCH 08/19] Fix test-i386-fprem compilation |
Date: |
Thu, 1 Dec 2016 00:14:22 -0500 |
From: Marc-André Lureau <address@hidden>
This test doesn't depend on glib, and thus cannot use osdep.h.
Signed-off-by: Marc-André Lureau <address@hidden>
Signed-off-by: Pranith Kumar <address@hidden>
---
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 <http://www.gnu.org/licenses/>.
*/
-#include "qemu/osdep.h"
+#include <stdint.h>
+#include <stdio.h>
+#include "qemu/compiler.h"
+
+#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
/*
* Inspired by <ieee754.h>'s union ieee854_long_double, but with single
--
2.10.2
- Re: [Qemu-devel] [PATCH 02/19] linux-user: fix tcg/mmap test, (continued)
- [Qemu-devel] [PATCH 01/19] linux-user: fix settime old value location, Pranith Kumar, 2016/12/01
- [Qemu-devel] [PATCH 04/19] tests/tcg: comment unused code, Pranith Kumar, 2016/12/01
- [Qemu-devel] [PATCH 03/19] check-help: add some hint to run a single test, Pranith Kumar, 2016/12/01
- [Qemu-devel] [PATCH 07/19] linux-test: fix set/getitimer returned timer check, Pranith Kumar, 2016/12/01
- [Qemu-devel] [PATCH 06/19] linux-test: fix build, Pranith Kumar, 2016/12/01
- [Qemu-devel] [PATCH 08/19] Fix test-i386-fprem compilation,
Pranith Kumar <=
- [Qemu-devel] [PATCH 09/19] test-i386: modernize vector code v4sf, Pranith Kumar, 2016/12/01
- [Qemu-devel] [PATCH 10/19] tests/tcg: Move arm tests to arch specific folder, Pranith Kumar, 2016/12/01
- [Qemu-devel] [PATCH 12/19] tests/tcg: Add tests-tcg hook in Makefile, Pranith Kumar, 2016/12/01
- [Qemu-devel] [PATCH 14/19] tests/tcg: Move i386 tests to arch specific folder, Pranith Kumar, 2016/12/01
- [Qemu-devel] [PATCH 11/19] tests/tcg: Move mips test to arch specific folder, Pranith Kumar, 2016/12/01
- [Qemu-devel] [PATCH 13/19] tests/tcg/i386: Fix hello-i386 test, Pranith Kumar, 2016/12/01
- [Qemu-devel] [PATCH 16/19] tests/tcg: Fix compilation of linux-test.c, Pranith Kumar, 2016/12/01
- [Qemu-devel] [PATCH 15/19] tests/tcg/i386: Fix test-i386 compilation, Pranith Kumar, 2016/12/01