updated for version 7.1-133
diff --git a/src/fileio.c b/src/fileio.c
index 39b4226..594daf3 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5553,6 +5553,8 @@
 }
 #endif
 
+#if defined(FEAT_VIMINFO) || defined(FEAT_BROWSE) || \
+    defined(FEAT_QUICKFIX) || defined(PROTO)
 /*
  * Try to find a shortname by comparing the fullname with the current
  * directory.
@@ -5573,6 +5575,7 @@
     }
     return p;
 }
+#endif
 
 /*
  * Try to find a shortname by comparing the fullname with the current