Mercurial > gnulib
changeset 59:3209a15d374c
GNU file utilities
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Thu, 22 Apr 1993 03:10:47 +0000 |
parents | 4dc25cfd0b27 |
children | 6a60ef1ed3c7 |
files | lib/backupfile.c lib/mountlist.c |
diffstat | 2 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/backupfile.c Mon Apr 19 00:21:05 1993 +0000 +++ b/lib/backupfile.c Thu Apr 22 03:10:47 1993 +0000 @@ -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