mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
aea575ce76
A Stand-Alone shell combining many common utilities. PR: 16309 Submitted by: Patrick Gardella <patrick@freebsd.org>
21 lines
347 B
Plaintext
21 lines
347 B
Plaintext
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 */
|