Date: Thu, 14 Dec 1995 11:10:03 -0800 (PST) From: Bruce Evans <bde@zeta.org.au> To: freebsd-bugs Subject: Re: misc/891: regex.h Message-ID: <199512141910.LAA28942@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/891; it has been noted by GNATS. From: Bruce Evans <bde@zeta.org.au> To: FreeBSD-gnats-submit@FreeBSD.ORG, mi@ALDAN.star89.galstar.com Cc: Subject: Re: misc/891: regex.h Date: Fri, 15 Dec 1995 05:55:52 +1100 >>Description: > regex.h uses off_t as already defined, but only includes sys/cdefs.h . > off_t is defined in sys/types.h >>Fix: > > Put #include <sys/types.h> in front. But I do not think, this is > how it should be. It's standard braindamage that applications have to include <sys/types.h> before any POSIX header. This is even documented for <regex.h>. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512141910.LAA28942>