summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--printf.c2
-rw-r--r--tests/tpow_all.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/printf.c b/printf.c
index 38b754229..bd8f3fdab 100644
--- a/printf.c
+++ b/printf.c
@@ -40,7 +40,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
# endif /* HAVE___VA_COPY */
#endif /* HAVE_VA_COPY */
-
+#include <string.h>
#include <errno.h>
#include "mpfr-impl.h"
diff --git a/tests/tpow_all.c b/tests/tpow_all.c
index cf66e95aa..3ceba66ed 100644
--- a/tests/tpow_all.c
+++ b/tests/tpow_all.c
@@ -29,6 +29,7 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
/* Execute with at least an argument to report all the errors found by
comparisons. */
+#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>