openbsd-ports/misc/ytree/patches/patch-match_c
2001-06-04 23:17:32 +00:00

15 lines
304 B
Plaintext

$OpenBSD: patch-match_c,v 1.2 2001/06/04 23:17:34 naddy Exp $
--- match.c.orig Fri Jun 1 21:39:01 2001
+++ match.c Fri Jun 1 21:39:31 2001
@@ -23,6 +23,10 @@
#define HAS_REGCOMP
#endif
+#if defined( __OpenBSD__ )
+#define HAS_REGCOMP
+#include <sys/types.h>
+#endif
#ifdef HAS_REGEX
#ifdef sun