summaryrefslogtreecommitdiffstats
path: root/include/net/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/compat.h')
-rw-r--r--include/net/compat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/compat.h b/include/net/compat.h
index 8662b8f43df5..9859b60280d5 100644
--- a/include/net/compat.h
+++ b/include/net/compat.h
@@ -1,7 +1,8 @@
#ifndef NET_COMPAT_H
#define NET_COMPAT_H
-#include <linux/config.h>
+
+struct sock;
#if defined(CONFIG_COMPAT)
@@ -23,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) */