Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2021 03:31:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 259975] sys/file.h fails when -D_POSIX_C_SOURCE=200809L is given
Message-ID:  <bug-259975-29464-a5IBfcNWUC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259975-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259975-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259975

--- Comment #8 from Yuri Victorovich <yuri@freebsd.org> ---
(In reply to Warner Losh from comment #6)

FYI: Adding -D__BSD_VISIBLE=3D1 causes another failure:
> /usr/include/time.h:175:23: error: unknown type name 'timer_t'; did you m=
ean 'time_t'?
> int timer_oshandle_np(timer_t timerid);
>                       ^
> /usr/include/time.h:68:18: note: 'time_t' declared here
> typedef __time_t        time_t;
>                         ^

But adding -Du_int=3Dunsigned works. So I would use this workaround for the=
 time
being until it is resolved outside of the port.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259975-29464-a5IBfcNWUC>