diff mbox series

[v3,06/11] tests/fp/platform.h: include config-host.h

Message ID 20190122215016.18697-7-alex.bennee@linaro.org
State Accepted
Commit b343eb462bcf825d60a29269054d54aff95b1722
Headers show
Series current fpu/next queue (tests & build fix) | expand

Commit Message

Alex Bennée Jan. 22, 2019, 9:50 p.m. UTC
From: "Emilio G. Cota" <cota@braap.org>


We get HOST_WORDS_BIGENDIAN from config-host.h, but the include
is missing. Fix it.

This fixes `make check-softfloat' on big endian hosts.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
 tests/fp/platform.h | 1 +
 1 file changed, 1 insertion(+)

-- 
2.17.1
diff mbox series

Patch

diff --git a/tests/fp/platform.h b/tests/fp/platform.h
index f8c423dde3..c20ba70baa 100644
--- a/tests/fp/platform.h
+++ b/tests/fp/platform.h
@@ -29,6 +29,7 @@ 
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+#include "config-host.h"
 
 #ifndef HOST_WORDS_BIGENDIAN
 #define LITTLEENDIAN 1