summaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
Diffstat (limited to 'string')
-rw-r--r--string/test-memchr.c2
-rw-r--r--string/tst-cmp.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/string/test-memchr.c b/string/test-memchr.c
index d62889ff8f..d64d10cb0e 100644
--- a/string/test-memchr.c
+++ b/string/test-memchr.c
@@ -23,7 +23,9 @@
#else
# define TEST_NAME "wmemchr"
#endif /* WIDE */
+
#include "test-string.h"
+#include <stdint.h>
#ifndef WIDE
# define MEMCHR memchr
diff --git a/string/tst-cmp.c b/string/tst-cmp.c
index 99f958ea16..ae63228318 100644
--- a/string/tst-cmp.c
+++ b/string/tst-cmp.c
@@ -23,6 +23,7 @@
#include <limits.h>
#include <malloc.h>
#include <stdbool.h>
+#include <stdint.h>
#include <stdlib.h>
#include <string.h>