diff options
Diffstat (limited to 'libstdc++-v3/libmath/mathconf.h')
-rw-r--r-- | libstdc++-v3/libmath/mathconf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/libmath/mathconf.h b/libstdc++-v3/libmath/mathconf.h index 1e874990dd1..087631a5687 100644 --- a/libstdc++-v3/libmath/mathconf.h +++ b/libstdc++-v3/libmath/mathconf.h @@ -34,6 +34,9 @@ # include <endian.h> #else # ifdef HAVE_MACHINE_ENDIAN_H +# ifdef HAVE_SYS_TYPES_H +# include <sys/types.h> +# endif # include <machine/endian.h> # else # ifdef HAVE_SYS_MACHINE_H |