Date: Wed, 13 Dec 1995 13:13:35 -0500 From: mi@ALDAN.star89.galstar.com To: FreeBSD-gnats-submit@freebsd.org Subject: misc/891: regex.h Message-ID: <199512131813.NAA06369@aldan> Resent-Message-ID: <199512131820.KAA11706@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 891 >Category: misc >Synopsis: regex.h relies on sys/types.h, but does not include it >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Dec 13 10:20:01 PST 1995 >Last-Modified: >Originator: &khail Teterin >Organization: >Release: FreeBSD 2.1-STABLE i386 >Environment: gcc 2.6.? (the original) >Description: regex.h uses off_t as already defined, but only includes sys/cdefs.h . off_t is defined in sys/types.h >How-To-Repeat: I hit this builing xrn. Just make a c file with only #include <regex.h> >Fix: Put #include <sys/types.h> in front. But I do not think, this is how it should be. >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512131813.NAA06369>