diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2026-02-19 15:05:22 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2026-02-19 15:10:32 +0000 |
| commit | 2adc3f0db1877dbe9801e6dacfa9ae8df8879549 (patch) | |
| tree | 81451ade7b4a091131c3f312ec6a9d19ec141d67 /include/stddef.h | |
| parent | cb59eec9ebbf1ae3a24223431ed1d947674c8c6a (diff) | |
Diffstat (limited to 'include/stddef.h')
| -rw-r--r-- | include/stddef.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/stddef.h b/include/stddef.h index 978a34affc0a..9c7f1f147289 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -33,6 +33,7 @@ #define _STDDEF_H_ #include <sys/_null.h> +#include <sys/_offsetof.h> #include <sys/_types.h> #include <sys/_visible.h> @@ -68,10 +69,6 @@ typedef __max_align_t max_align_t; #endif #endif -#ifndef offsetof -#define offsetof(type, field) __builtin_offsetof(type, field) -#endif - #if __EXT1_VISIBLE /* ISO/IEC 9899:2011 K.3.3.2 */ #ifndef _RSIZE_T_DEFINED |
