aboutsummaryrefslogtreecommitdiff
path: root/shells/sash/files/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'shells/sash/files/patch-af')
-rw-r--r--shells/sash/files/patch-af20
1 files changed, 20 insertions, 0 deletions
diff --git a/shells/sash/files/patch-af b/shells/sash/files/patch-af
new file mode 100644
index 000000000000..2711ce3e7a9d
--- /dev/null
+++ b/shells/sash/files/patch-af
@@ -0,0 +1,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 */