summaryrefslogtreecommitdiff
path: root/arch/um/sys-i386/user-offsets.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2006-12-06 20:34:52 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 08:39:29 -0800
commit54f9a398e18a49e302e2187fa694043250391d80 (patch)
tree962dd6b0100206bd47b2fcb131f53463cb78fd57 /arch/um/sys-i386/user-offsets.c
parent8bcbdf603bc4bf24c2bcfa071871afb03dd3ae80 (diff)
[PATCH] uml: include stddef.h correctly
We were not including stddef.h in files that used offsetof. One file was also including linux/stddef.h for no perciptible reason. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/sys-i386/user-offsets.c')
-rw-r--r--arch/um/sys-i386/user-offsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/sys-i386/user-offsets.c b/arch/um/sys-i386/user-offsets.c
index 6f4ef2b7fa4a..447306b20aea 100644
--- a/arch/um/sys-i386/user-offsets.c
+++ b/arch/um/sys-i386/user-offsets.c
@@ -2,7 +2,7 @@
#include <signal.h>
#include <asm/ptrace.h>
#include <asm/user.h>
-#include <linux/stddef.h>
+#include <stddef.h>
#include <sys/poll.h>
#define DEFINE(sym, val) \