summaryrefslogtreecommitdiff
path: root/include/l_stdlib.h
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2020-06-24 00:20:45 +0000
committerCy Schubert <cy@FreeBSD.org>2020-06-24 00:20:45 +0000
commit3914721463f70500ecc1f59312b122d8788465cf (patch)
treef253e72838d762e229ca71912a4a928e96cac2bd /include/l_stdlib.h
parent5171bc9b11192d9ad273db7854787eaa65eb9997 (diff)
Notes
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 */