--- a/src/mpc.h
+++ b/src/mpc.h
@@ -22,6 +22,7 @@ along with this program. If not, see http://www.gnu.org/licenses/ .
#define __MPC_H
#include <stdint.h>
+#include <stdio.h>
#include "gmp.h"
#include "mpfr.h"