Mercurial > gnulib
diff lib/backupfile.c @ 59:3209a15d374c
GNU file utilities
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Thu, 22 Apr 1993 03:10:47 +0000 |
parents | 05adbdfa0f87 |
children | 82fc1441ad84 |
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