projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1273f3e
)
[LIBC_]: Do include string.h.
author
Jim Meyering
<meyering@lucent.com>
Sun, 21 May 1995 13:16:49 +0000
(13:16 +0000)
committer
Jim Meyering
<meyering@lucent.com>
Sun, 21 May 1995 13:16:49 +0000
(13:16 +0000)
sysdeps/generic/memchr.c
patch
|
blob
|
history
diff --git
a/sysdeps/generic/memchr.c
b/sysdeps/generic/memchr.c
index
b6f4722
..
ba2738c
100644
(file)
--- 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