summaryrefslogtreecommitdiff
path: root/x11-fm/vide/files/patch-search_mode.c
blob: fd43c645c886823a203043d75b4ac0a86c8e8eb4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- search_mode.c.orig	Thu Oct 12 23:36:05 2000
+++ search_mode.c	Sat Feb 24 15:14:47 2001
@@ -16,6 +16,12 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
  */
 
+#include<sys/param.h>
+#if (defined(BSD) && (BSD>=199103))
+    /* Required by regex.h on FreeBSD 4.2 at least. */
+    #include<sys/types.h>
+#endif
+
 #include <fnmatch.h>
 #include<stdio.h>
 #include<string.h>