summaryrefslogtreecommitdiff
path: root/src/vasprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vasprintf.c')
-rw-r--r--src/vasprintf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vasprintf.c b/src/vasprintf.c
index 1aebd6950..4238923bf 100644
--- a/src/vasprintf.c
+++ b/src/vasprintf.c
@@ -52,6 +52,8 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
#include <stddef.h> /* for ptrdiff_t */
#endif
+#include <errno.h>
+
#define MPFR_NEED_LONGLONG_H
#include "mpfr-intmax.h"
#include "mpfr-impl.h"