[PATCH] net/compat.h build fix

From: Andrew Morton <akpm@osdl.org>

Move the forward decl outside the ifdef, since we use it in both legs.

Should fix the spacr64 build error reported in
http://bugzilla.kernel.org/show_bug.cgi?id=6625

Acked-by: "David S. Miller" <davem@davemloft.net>
Cc: Cedric Pellerin <cedric@bidouillesoft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Andrew Morton and committed by Linus Torvalds 29f767a2 c331eb04

+2 -1
+2 -1
include/net/compat.h
··· 3 3 4 4 #include <linux/config.h> 5 5 6 + struct sock; 7 + 6 8 #if defined(CONFIG_COMPAT) 7 9 8 10 #include <linux/compat.h> ··· 25 23 compat_int_t cmsg_type; 26 24 }; 27 25 28 - struct sock; 29 26 extern int compat_sock_get_timestamp(struct sock *, struct timeval __user *); 30 27 31 28 #else /* defined(CONFIG_COMPAT) */