]> err.no Git - linux-2.6/blobdiff - include/net/compat.h
m68k: remove unused adb.h
[linux-2.6] / include / net / compat.h
index da680272cf6e99f6160b3f8f3332fd0d194f0f2f..406db242f73a6d8a4fecdaeff456fa08cccad26d 100644 (file)
@@ -2,6 +2,8 @@
 #define NET_COMPAT_H
 
 
+struct sock;
+
 #if defined(CONFIG_COMPAT)
 
 #include <linux/compat.h>
@@ -22,8 +24,8 @@ struct compat_cmsghdr {
        compat_int_t    cmsg_type;
 };
 
-struct sock;
 extern int compat_sock_get_timestamp(struct sock *, struct timeval __user *);
+extern int compat_sock_get_timestampns(struct sock *, struct timespec __user *);
 
 #else /* defined(CONFIG_COMPAT) */
 #define compat_msghdr  msghdr          /* to avoid compiler warnings */