From 53cde971a5e3449f2750c9132143925867775bae Mon Sep 17 00:00:00 2001 From: Hasso Tepper Date: Mon, 2 Jun 2008 06:50:08 +0000 Subject: [PATCH] According to SUSv3 including just regex.h must be enough. Fixes build of several pkgsrc packages. --- include/regex.h | 3 ++- lib/libc/regex/regex.3 | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/regex.h b/include/regex.h index 42c0d9e3e2..8456891008 100644 --- a/include/regex.h +++ b/include/regex.h @@ -35,13 +35,14 @@ * SUCH DAMAGE. * * @(#)regex.h 8.2 (Berkeley) 1/3/94 - * $DragonFly: src/include/regex.h,v 1.2 2003/11/14 01:01:43 dillon Exp $ + * $DragonFly: src/include/regex.h,v 1.3 2008/06/02 06:50:08 hasso Exp $ */ #ifndef _REGEX_H_ #define _REGEX_H_ #include +#include /* types */ typedef off_t regoff_t; diff --git a/lib/libc/regex/regex.3 b/lib/libc/regex/regex.3 index ca7e3daf7d..9c7db74505 100644 --- a/lib/libc/regex/regex.3 +++ b/lib/libc/regex/regex.3 @@ -35,7 +35,7 @@ .\" .\" @(#)regex.3 8.4 (Berkeley) 3/20/94 .\" $FreeBSD: src/lib/libc/regex/regex.3,v 1.4.2.4 2001/12/14 18:33:56 ru Exp $ -.\" $DragonFly: src/lib/libc/regex/regex.3,v 1.4 2006/05/26 19:39:37 swildner Exp $ +.\" $DragonFly: src/lib/libc/regex/regex.3,v 1.5 2008/06/02 06:50:08 hasso Exp $ .\" .Dd March 20, 1994 .Dt REGEX 3 @@ -49,7 +49,6 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In sys/types.h .In regex.h .Ft int .Fn regcomp "regex_t *preg" "const char *pattern" "int cflags" -- 2.41.0