--- src/asin.c
+++ src/asin.c
@@ -17,7 +17,7 @@ more details.
 You should have received a copy of the GNU Lesser General Public License
 along with this program. If not, see http://www.gnu.org/licenses/ .
 */
-
+#include <limits.h>
 #include <stdio.h>
 #include "mpc-impl.h"
 
