diff -Naurd mpfr-3.1.5-a/PATCHES mpfr-3.1.5-b/PATCHES
--- mpfr-3.1.5-a/PATCHES	2017-08-01 11:59:56.775365596 +0000
+++ mpfr-3.1.5-b/PATCHES	2017-08-01 11:59:56.803365172 +0000
@@ -0,0 +1 @@
+mpf-compat-header
diff -Naurd mpfr-3.1.5-a/VERSION mpfr-3.1.5-b/VERSION
--- mpfr-3.1.5-a/VERSION	2017-07-21 09:17:42.699157421 +0000
+++ mpfr-3.1.5-b/VERSION	2017-08-01 11:59:56.803365172 +0000
@@ -1 +1 @@
-3.1.5-p9
+3.1.5-p10
diff -Naurd mpfr-3.1.5-a/src/mpfr.h mpfr-3.1.5-b/src/mpfr.h
--- mpfr-3.1.5-a/src/mpfr.h	2017-07-21 09:17:42.699157421 +0000
+++ mpfr-3.1.5-b/src/mpfr.h	2017-08-01 11:59:56.799365233 +0000
@@ -27,7 +27,7 @@
 #define MPFR_VERSION_MAJOR 3
 #define MPFR_VERSION_MINOR 1
 #define MPFR_VERSION_PATCHLEVEL 5
-#define MPFR_VERSION_STRING "3.1.5-p9"
+#define MPFR_VERSION_STRING "3.1.5-p10"
 
 /* Macros dealing with MPFR VERSION */
 #define MPFR_VERSION_NUM(a,b,c) (((a) << 16L) | ((b) << 8) | (c))
diff -Naurd mpfr-3.1.5-a/src/version.c mpfr-3.1.5-b/src/version.c
--- mpfr-3.1.5-a/src/version.c	2017-07-21 09:17:42.699157421 +0000
+++ mpfr-3.1.5-b/src/version.c	2017-08-01 11:59:56.803365172 +0000
@@ -25,5 +25,5 @@
 const char *
 mpfr_get_version (void)
 {
-  return "3.1.5-p9";
+  return "3.1.5-p10";
 }
diff -Naurd mpfr-3.1.5-a/tests/mpf_compat.h mpfr-3.1.5-b/tests/mpf_compat.h
--- mpfr-3.1.5-a/tests/mpf_compat.h	2017-06-06 20:31:35.931341353 +0000
+++ mpfr-3.1.5-b/tests/mpf_compat.h	2017-08-01 11:59:56.791365354 +0000
@@ -22,7 +22,7 @@
 
 #include <stdlib.h>
 
-#include "mpfr-impl.h"
+#include "mpfr-test.h"
 
 #ifdef MPFR
 #include "mpf2mpfr.h"
