<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tools/build/stddef.h, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-02-24T20:42:21Z</updated>
<entry>
<title>tools/build/stddef.h: fix stock clang/gcc headers</title>
<updated>2026-02-24T20:42:21Z</updated>
<author>
<name>Ahmad Khalifa</name>
<email>vexeduxr@FreeBSD.org</email>
</author>
<published>2026-02-24T20:11:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0c075db78a98de8e3a255597d045bcd24ba27be7'/>
<id>urn:sha1:0c075db78a98de8e3a255597d045bcd24ba27be7</id>
<content type='text'>
Both clang and gcc's stddef.h are designed to be included multiple times
with different combinations of __need_* macros defined (e.g
__need_size_t). Remove the #pragma once to accommodate this, ptraddr_t
is guarded by _PTRADDR_T_DECLARED anyways.

Also use __SIZE_TYPE__ instead of size_t since it's not guaranteed to be
defined.

Reviewed by:	brooks, imp, kib
Differential Revision:	https://reviews.freebsd.org/D55453
</content>
</entry>
<entry>
<title>build: add stddef.h to define ptraddr_t as required</title>
<updated>2026-02-19T15:10:32Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2026-02-19T15:05:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=89c3ae5fc9cc24af940699b7e282fd24763f7ffa'/>
<id>urn:sha1:89c3ae5fc9cc24af940699b7e282fd24763f7ffa</id>
<content type='text'>
Effort:		CHERI upstreaming
Sponsored by:	Innovate UK
Reviewed by:	kib
Co-authored-by:	Alfredo Mazzinghi &lt;am2419@cl.cam.ac.uk&gt;
Co-authored-by:	Alex Richardson &lt;Alexander.Richardson@cl.cam.ac.uk&gt;
Differential Revision:	https://reviews.freebsd.org/D55308
</content>
</entry>
</feed>
