diff -NPru cmd_file.c.orig cmd_file.c
--- cmd_file.c.orig	Sun Apr 11 09:31:39 1999
+++ cmd_file.c	Sat Jan 22 23:46:23 2000
@@ -6,6 +6,8 @@
  * The "file" built-in command.
  */
 
+#ifdef HAVE_FILE
+
 #include <ctype.h>
 #include <errno.h>
 #include <sys/types.h>
@@ -229,5 +231,7 @@
 
 	return info;
 }
+
+#endif /* HAVE_FILE */
 
 /* END CODE */
