diff --git a/sql/mysqld.cc b/sql/mysqld.cc index e0ccab7872b..70b33be7c59 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -176,6 +176,9 @@ typedef fp_except fp_except_t; /* for IRIX to use set_fpc_csr() */ #include #endif +#ifdef HAVE_FPU_CONTROL_H +#include +#endif #if defined(__i386__) && !defined(HAVE_FPU_CONTROL_H) # define fpu_control_t unsigned int # define _FPU_EXTENDED 0x300