Index: src/vasprintf.c
--- src/vasprintf.c.orig	2014-09-19 07:59:51.480520153 +0200
+++ src/vasprintf.c	2014-09-19 08:02:07.380431911 +0200
@@ -28,6 +28,7 @@
 /* The mpfr_printf-like functions are defined only if <stdarg.h> exists */
 #ifdef HAVE_STDARG
 
+#include <stdlib.h>
 #include <stdarg.h>
 
 #ifndef HAVE_VA_COPY
