]> git.hungrycats.org Git - linux/commitdiff
[PATCH] sparc64 rusage build fix
authorAndrew Morton <akpm@osdl.org>
Mon, 21 Feb 2005 23:29:24 +0000 (15:29 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 21 Feb 2005 23:29:24 +0000 (15:29 -0800)
Some patch in -mm causes the sparc64 build to explode because `struct rusage'
isn't defined or declared in compat.h.   So forward-declare it.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/compat.h

index a62f5c960c75a0a5ad91a91ea195bbf5c930c099..f67748fda899dbe22b828f80ac285a20baeafd0e 100644 (file)
@@ -18,6 +18,8 @@
 #define compat_jiffies_to_clock_t(x)   \
                (((unsigned long)(x) * COMPAT_USER_HZ) / HZ)
 
+struct rusage;
+
 struct compat_itimerspec { 
        struct compat_timespec it_interval;
        struct compat_timespec it_value;