HomeFreeBSD

types.h: use central definition of offsetof()

Description

types.h: use central definition of offsetof()

Previously this broke if included after (sys/)stddef.h.

Reported by: des
Fixes: 2adc3f0db187 ("stddef.h: centralize definition of offsetof()")

Details

Provenance
brooksAuthored on Feb 19 2026, 4:13 PM
Parents
rG6010b73fa957: makefs: Add SPDX-License-Identifier tags
Branches
Unknown
Tags
Unknown