summaryrefslogtreecommitdiffstats
path: root/include/stddef.h
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-07-08 16:43:35 +0000
committermike <mike@FreeBSD.org>2002-07-08 16:43:35 +0000
commitebfda4c0dd6bcd6c81042231fbc8f0a68f0cc7cf (patch)
treefb88a472d1c60c155a3067ac65de70a1aaf477b4 /include/stddef.h
parent2363974e0c8427799636701e0abdf9f903a37253 (diff)
downloadFreeBSD-src-ebfda4c0dd6bcd6c81042231fbc8f0a68f0cc7cf.zip
FreeBSD-src-ebfda4c0dd6bcd6c81042231fbc8f0a68f0cc7cf.tar.gz
Move __offsetof() macro from <machine/ansi.h> to <sys/cdefs.h>. It's
hardly MD, since all our platforms share the same macro. It's not really compiler dependent either, but this helps in reducing <machine/ansi.h> to only type definitions.
Diffstat (limited to 'include/stddef.h')
-rw-r--r--include/stddef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stddef.h b/include/stddef.h
index feeebc9..feb1cdc 100644
--- a/include/stddef.h
+++ b/include/stddef.h
@@ -38,6 +38,7 @@
#ifndef _STDDEF_H_
#define _STDDEF_H_
+#include <sys/cdefs.h>
#include <machine/ansi.h>
typedef _BSD_PTRDIFF_T_ ptrdiff_t;
OpenPOWER on IntegriCloud