aboutsummaryrefslogtreecommitdiffstats
path: root/include/l_stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/l_stdlib.h')
-rw-r--r--include/l_stdlib.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/l_stdlib.h b/include/l_stdlib.h
index 073ea4641236..fbf57c53aa9d 100644
--- a/include/l_stdlib.h
+++ b/include/l_stdlib.h
@@ -221,4 +221,13 @@ extern int errno;
extern int h_errno;
#endif
+#ifndef HAVE_MEMCHR
+extern void *memchr(const void *s, int c, size_t n);
+#endif
+
+#ifndef HAVE_STRNLEN
+extern size_t strnlen(const char *s, size_t n);
+#endif
+
+
#endif /* L_STDLIB_H */