diff options
author | Jim Meyering <jim@meyering.net> | 1993-04-05 00:53:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-04-05 00:53:40 +0000 |
commit | 43832d5afe3030701e2ab59b5ad6a32a359419ea (patch) | |
tree | ac43ecdbc6d6b8e5dfd5ba7b9b67cdc5a3cf7108 | |
parent | ec4d2bda3d5c7219f2dd50d7ca91dcdcc1dfffdb (diff) | |
download | gnulib-43832d5afe3030701e2ab59b5ad6a32a359419ea.tar.gz |
* system.h [rindex, incl, bcopy, bzero]: Ditto.version-3_4_4-tentative
* userspec.c [index]: Ditto.
-rw-r--r-- | lib/userspec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/userspec.c b/lib/userspec.c index 60c6ecc1aa..44d7d91744 100644 --- a/lib/userspec.c +++ b/lib/userspec.c @@ -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 |