diff options
author | Jim Meyering <meyering@lucent.com> | 1995-05-21 06:03:25 +0000 |
---|---|---|
committer | Jim Meyering <meyering@lucent.com> | 1995-05-21 06:03:25 +0000 |
commit | 22cbb717d96ddadedf72656a431cad874549a433 (patch) | |
tree | 83991c1a83a51d72534ba4a26f7716d903c682f0 /sysdeps/generic/memchr.c | |
parent | a2fe9c76a9d7645c63288eda807e01a6b1901d29 (diff) | |
download | glibc-22cbb717d96ddadedf72656a431cad874549a433.tar glibc-22cbb717d96ddadedf72656a431cad874549a433.tar.gz glibc-22cbb717d96ddadedf72656a431cad874549a433.tar.bz2 glibc-22cbb717d96ddadedf72656a431cad874549a433.zip |
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/memchr.c')
-rw-r--r-- | sysdeps/generic/memchr.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/generic/memchr.c b/sysdeps/generic/memchr.c index 5ceb2ba7c9..b6f472276b 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 |