aboutsummaryrefslogtreecommitdiffstats
path: root/shells/sash/files/patch-af
blob: 2711ce3e7a9dcb0bcb8ceee9f690ba7bf18c3837 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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 */