diff options
author | Jim Meyering <jim@meyering.net> | 1993-04-22 03:16:53 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-04-22 03:16:53 +0000 |
commit | cff8d231ff42cdd533ba430a9a887bc856f9e44a (patch) | |
tree | fc545c6a22b5daf33f0a8511d0407e1f9d730d67 /lib | |
parent | adcff142d8c2b5f7f8c08ff8cbcaf97d346af9b2 (diff) | |
download | coreutils-cff8d231ff42cdd533ba430a9a887bc856f9e44a.tar.xz |
merge with 3.5
Diffstat (limited to 'lib')
-rw-r--r-- | lib/backupfile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/backupfile.c b/lib/backupfile.c index 7a624cfec..f15e530bf 100644 --- a/lib/backupfile.c +++ b/lib/backupfile.c @@ -24,8 +24,12 @@ #include "backupfile.h" #if defined(STDC_HEADERS) || defined(HAVE_STRING_H) #include <string.h> +#ifndef index #define index strchr +#endif +#ifndef rindex #define rindex strrchr +#endif #else #include <strings.h> #endif |