diff --git a/arch/mips/math-emu/ieee754.c b/arch/mips/math-emu/ieee754.c index 68c29964f996ed60b9715a2b3e6891d490c823fb..43a9a085ce622a6adace3387fa5c9bebbff5be90 100644 --- a/arch/mips/math-emu/ieee754.c +++ b/arch/mips/math-emu/ieee754.c @@ -28,6 +28,7 @@ * ######################################################################## */ +#include #include #include "ieee754int.h" diff --git a/arch/mips/math-emu/ieee754.h b/arch/mips/math-emu/ieee754.h index 952c1808b5680272e589e221d9b55880df2fd3bd..6d9a89051b27111148bd1a30f207f7433f5ff23a 100644 --- a/arch/mips/math-emu/ieee754.h +++ b/arch/mips/math-emu/ieee754.h @@ -24,6 +24,7 @@ #ifndef __ARCH_MIPS_MATH_EMU_IEEE754_H #define __ARCH_MIPS_MATH_EMU_IEEE754_H +#include #include #include #include @@ -31,14 +32,6 @@ #include #include -/* - * Not very pretty, but the Linux kernel's normal va_list definition - * does not allow it to be used as a structure element, as it is here. - */ -#ifndef _STDARG_H -#include -#endif - struct ieee754dp_const { __BITFIELD_FIELD(unsigned sign:1, __BITFIELD_FIELD(unsigned bexp:11, diff --git a/arch/mips/math-emu/ieee754dp.c b/arch/mips/math-emu/ieee754dp.c index 53dbb1cb52a932cd6de3cce141e9ca428c94bc84..a8eb0142ca1725a0f7a48bb2c878511c5ae14d4a 100644 --- a/arch/mips/math-emu/ieee754dp.c +++ b/arch/mips/math-emu/ieee754dp.c @@ -23,6 +23,7 @@ * ######################################################################## */ +#include #include #include "ieee754dp.h" diff --git a/arch/mips/math-emu/ieee754sp.c b/arch/mips/math-emu/ieee754sp.c index 955e474b5b5988c843e106589b6256add9df51f1..ed62ffeeb61ef607ceba42aee984180edd202588 100644 --- a/arch/mips/math-emu/ieee754sp.c +++ b/arch/mips/math-emu/ieee754sp.c @@ -23,6 +23,7 @@ * ######################################################################## */ +#include #include #include "ieee754sp.h"