diff options
Diffstat (limited to 'include/net/compat.h')
-rw-r--r-- | include/net/compat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/compat.h b/include/net/compat.h index da680272cf6..9859b60280d 100644 --- a/include/net/compat.h +++ b/include/net/compat.h @@ -2,6 +2,8 @@ #define NET_COMPAT_H +struct sock; + #if defined(CONFIG_COMPAT) #include <linux/compat.h> @@ -22,7 +24,6 @@ struct compat_cmsghdr { compat_int_t cmsg_type; }; -struct sock; extern int compat_sock_get_timestamp(struct sock *, struct timeval __user *); #else /* defined(CONFIG_COMPAT) */ |