aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorJim Meyering <meyering@lucent.com>1995-05-21 13:16:49 +0000
committerJim Meyering <meyering@lucent.com>1995-05-21 13:16:49 +0000
commitc2e14186db69b53b3d0cdcce08a5ffc322709a46 (patch)
tree81a7b7a8eb8b1a4037c4af84691b7f06e1216334 /sysdeps/generic
parent1273f3e0d18172b9bb6acbce73b33d28d62baec4 (diff)
downloadglibc-c2e14186db69b53b3d0cdcce08a5ffc322709a46.zip
glibc-c2e14186db69b53b3d0cdcce08a5ffc322709a46.tar.gz
glibc-c2e14186db69b53b3d0cdcce08a5ffc322709a46.tar.bz2
[LIBC_]: Do include string.h.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/memchr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/memchr.c b/sysdeps/generic/memchr.c
index b6f4722..ba2738c 100644
--- a/sysdeps/generic/memchr.c
+++ b/sysdeps/generic/memchr.c
@@ -31,6 +31,10 @@ Cambridge, MA 02139, USA. */
# define __ptr_t char *
#endif /* C++ or ANSI C. */
+#if defined (_LIBC)
+# include <string.h>
+#endif
+
#if defined (HAVE_LIMITS_H) || defined (_LIBC)
# include <limits.h>
#endif