diff options
author | Jim Meyering <meyering@lucent.com> | 1995-05-21 13:16:49 +0000 |
---|---|---|
committer | Jim Meyering <meyering@lucent.com> | 1995-05-21 13:16:49 +0000 |
commit | c2e14186db69b53b3d0cdcce08a5ffc322709a46 (patch) | |
tree | 81a7b7a8eb8b1a4037c4af84691b7f06e1216334 /sysdeps/generic/memchr.c | |
parent | 1273f3e0d18172b9bb6acbce73b33d28d62baec4 (diff) | |
download | glibc-c2e14186db69b53b3d0cdcce08a5ffc322709a46.tar.gz glibc-c2e14186db69b53b3d0cdcce08a5ffc322709a46.tar.xz glibc-c2e14186db69b53b3d0cdcce08a5ffc322709a46.zip |
[LIBC_]: Do include string.h.
Diffstat (limited to 'sysdeps/generic/memchr.c')
-rw-r--r-- | sysdeps/generic/memchr.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/memchr.c b/sysdeps/generic/memchr.c index b6f472276b..ba2738c069 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 |