/* * Copyright (c) 2026 Capabilities Limited * * SPDX-License-Identifier: BSD-2-Clause * * This software was developed by SRI International, the University of * Cambridge Computer Laboratory (Department of Computer Science and * Technology), and Capabilities Limited under Defense Advanced Research * Projects Agency / Air Force Research Laboratory (DARPA/AFRL) Contract * No. FA8750-24-C-B047 ("DEC"). */ #ifndef _SYS__OFFSETOF_H_ #define _SYS__OFFSETOF_H_ #ifndef offsetof #define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER) #endif #endif /* _SYS__OFFSETOF_H_ */