diff options
author | Jim Meyering <jim@meyering.net> | 1993-03-28 16:23:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-03-28 16:23:28 +0000 |
commit | a34d7ff0acaf8137e35a7bede40aede8d949f401 (patch) | |
tree | 42b949cbb5e79070893e6abd2710b53fb9292cbb /lib | |
parent | c1c67d32959bc542c68351567938b695a5cf0092 (diff) | |
download | coreutils-a34d7ff0acaf8137e35a7bede40aede8d949f401.tar.xz |
[rindex]: Don't redefine.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dirname.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dirname.c b/lib/dirname.c index 82deea7b4..7467d29e8 100644 --- a/lib/dirname.c +++ b/lib/dirname.c @@ -22,7 +22,9 @@ char *malloc (); #endif #if defined(USG) || defined(STDC_HEADERS) #include <string.h> +#ifndef rindex #define rindex strrchr +#endif #else #include <strings.h> #endif |