aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorJim Meyering <meyering@lucent.com>1995-05-21 06:03:25 +0000
committerJim Meyering <meyering@lucent.com>1995-05-21 06:03:25 +0000
commit22cbb717d96ddadedf72656a431cad874549a433 (patch)
tree83991c1a83a51d72534ba4a26f7716d903c682f0 /sysdeps/generic
parenta2fe9c76a9d7645c63288eda807e01a6b1901d29 (diff)
downloadglibc-22cbb717d96ddadedf72656a431cad874549a433.zip
glibc-22cbb717d96ddadedf72656a431cad874549a433.tar.gz
glibc-22cbb717d96ddadedf72656a431cad874549a433.tar.bz2
Don't include <string.h> at all. HPUX-9.01 and IRIX-4.0.5 vendor C compilers get conflicting dcls for memchr unless one manually arranges for them to define __STDC__.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/memchr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/generic/memchr.c b/sysdeps/generic/memchr.c
index 5ceb2ba..b6f4722 100644
--- a/sysdeps/generic/memchr.c
+++ b/sysdeps/generic/memchr.c
@@ -31,10 +31,6 @@ Cambridge, MA 02139, USA. */
# define __ptr_t char *
#endif /* C++ or ANSI C. */
-#if defined (HAVE_STRING_H) || defined (_LIBC)
-# include <string.h>
-#endif
-
#if defined (HAVE_LIMITS_H) || defined (_LIBC)
# include <limits.h>
#endif