fpu: make softfloat-macros self-contained

The macros use the "flags" type and to be consistent if anyone just
needs the macros we should bring in the header we need. There is an
outstanding TODO to audit the use of "flags" and replace with bool at
which point this include could be dropped.

Backports commit 5937fb63a92d54cc4e5270256e4387c4d3a70091 from qemu
This commit is contained in:
Alex Bennée 2019-11-18 21:10:35 -05:00 committed by Lioncash
parent 5ab2ac8dac
commit 064f50cdf6
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -82,6 +82,8 @@ this code that are retained.
#ifndef FPU_SOFTFLOAT_MACROS_H
#define FPU_SOFTFLOAT_MACROS_H
#include "fpu/softfloat-types.h"
/*----------------------------------------------------------------------------
| Shifts `a' right by the number of bits given in `count'. If any nonzero
| bits are shifted off, they are ``jammed'' into the least significant bit of