Mercurial > gnulib
changeset 52:d9ca5dc520bf
* system.h [rindex, incl, bcopy, bzero]: Ditto.
* userspec.c [index]: Ditto.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Mon, 05 Apr 1993 00:53:40 +0000 |
parents | 746d773c6fcf |
children | 63606015cd94 |
files | lib/userspec.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/userspec.c Sun Apr 04 22:16:17 1993 +0000 +++ b/lib/userspec.c Mon Apr 05 00:53:40 1993 +0000 @@ -22,9 +22,11 @@ #include <pwd.h> #include <grp.h> -#if defined(USG) || defined(STDC_HEADERS) +#if defined(STDC_HEADERS) || defined(HAVE_STRING_H) #include <string.h> +#ifndef index #define index strchr +#endif #else #include <strings.h> #endif