summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-09-05 12:58:57 +0000
committerbde <bde@FreeBSD.org>2002-09-05 12:58:57 +0000
commit2f40aad6b9d0ed57c32b48854d4b7a4358924738 (patch)
tree676e18699d3ea751d6b9f6d2c710b1672874dc47 /sys
parentb307c795022493741b4b1665d729863cda62b277 (diff)
downloadFreeBSD-src-2f40aad6b9d0ed57c32b48854d4b7a4358924738.zip
FreeBSD-src-2f40aad6b9d0ed57c32b48854d4b7a4358924738.tar.gz
Include <sys/systm.h> for the definition of offsetof() instead of depending
on the definition being misplaced in <sys/types.h>. The definition probably belongs in <sys/stddef.h>.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/linux/linux_genassym.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/linux/linux_genassym.c b/sys/i386/linux/linux_genassym.c
index 9cef0a5..41c9674 100644
--- a/sys/i386/linux/linux_genassym.c
+++ b/sys/i386/linux/linux_genassym.c
@@ -2,6 +2,7 @@
#include <sys/param.h>
#include <sys/assym.h>
+#include <sys/systm.h>
#include <i386/linux/linux.h>
OpenPOWER on IntegriCloud