Diff of /src/man-config.c [8fd7cb] .. [06ece8] Maximize Restore

  Switch to side-by-side view

--- a/src/man-config.c
+++ b/src/man-config.c
@@ -40,7 +40,15 @@
 
 #define BUFSIZE 4096
 
-extern char *rindex (const char *, int);	/* not always in <string.h> */
+/* if we don't have the strrchr() function,
+ * then we must fall back to using the older rindex() function,
+ * but (apparently) this isn't always prototyped in string.h
+ */
+#ifndef rindex
+/* i.e. NOT using strrchr()
+ */
+extern char *rindex (const char *, int);
+#endif
 
 #define whitespace(x) ((x) == ' ' || (x) == '\t')