X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Fcompat.h;h=406db242f73a6d8a4fecdaeff456fa08cccad26d;hb=e38bad4766a110b61fa6038f10be16ced8c6cc38;hp=e65cbedb6abcec07e08caedce8ed7785fabcce57;hpb=8f2ddb37e564a9616c05fa0d5652e0049072a730;p=linux-2.6 diff --git a/include/net/compat.h b/include/net/compat.h index e65cbedb6a..406db242f7 100644 --- a/include/net/compat.h +++ b/include/net/compat.h @@ -1,7 +1,6 @@ #ifndef NET_COMPAT_H #define NET_COMPAT_H -#include struct sock; @@ -26,6 +25,7 @@ struct compat_cmsghdr { }; 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 */