From patchwork Tue Oct 13 09:32:07 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Fix *-user build error Date: Mon, 12 Oct 2009 23:32:07 -0000 From: Paul Bolle X-Patchwork-Id: 35836 Message-Id: <1255426327.1817.14.camel@localhost.localdomain> To: qemu-devel@nongnu.org Signed-off-by: Paul Bolle --- Currently building i386-linux-user fails with this error: CC i386-linux-user/fpu/softfloat-native.o [...]/qemu/fpu/softfloat-native.c:132:5: error: "HOST_LONG_BITS" is not defined make[3]: *** [fpu/softfloat-native.o] Error 1 make[2]: *** [all] Error 2 make[1]: *** [subdir-i386-linux-user] Error 2 make: *** [build-all] Error 2 This trivial patch seems to fix it (without messing up the i386-softmmu build, the other one I sort of tested). I assume it also fixes similar errors in building the other *-user targets. fpu/softfloat.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fpu/softfloat.h b/fpu/softfloat.h index 789179a..c6ef652 100644 --- a/fpu/softfloat.h +++ b/fpu/softfloat.h @@ -37,7 +37,7 @@ these four paragraphs for those parts of this code that are retained. #endif #include -#include "config.h" +#include "../config.h" /*---------------------------------------------------------------------------- | Each of the following `typedef's defines the most convenient type that holds