summaryrefslogtreecommitdiff
path: root/shells/sash/files/patch-ac
blob: fb53eb8cb4d3e831a1cd47c7940a97ac467c04c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff -NPru cmd_ar.c.orig cmd_ar.c
--- cmd_ar.c.orig	Sat Oct  2 12:09:04 1999
+++ cmd_ar.c	Sat Jan 22 23:45:10 2000
@@ -13,6 +13,8 @@
  * This allows extraction and listing of ar files.
  */
 
+#ifdef HAVE_AR
+
 #include <ar.h>
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -1007,5 +1009,6 @@
 	       arch->name);
 }
 
+#endif /* HAVE_AR */
 
 /* END CODE */