aboutsummaryrefslogtreecommitdiffstats
path: root/shells/sash/files/patch-ah
blob: 35c42def7f9c305d0ceb5ba098ff848a98e91791 (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_grep.c.orig cmd_grep.c
--- cmd_grep.c.orig Sun Apr 11 09:31:39 1999
+++ cmd_grep.c  Sat Jan 22 23:47:32 2000
@@ -6,6 +6,8 @@
  * The "grep" built-in command.
  */
 
+#ifdef HAVE_GREP
+
 #include <ctype.h>
 
 #include "sash.h"
@@ -187,5 +189,7 @@
        string++;
    }
 }
+
+#endif /* HAVE_GREP */
 
 /* END CODE */