X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Fcompat.h;h=406db242f73a6d8a4fecdaeff456fa08cccad26d;hb=fc36b8d3d819047eb4d23ca079fb4d3af20ff076;hp=e65cbedb6abcec07e08caedce8ed7785fabcce57;hpb=c080a3e69dfb58ae9b8c7e70a1e33f4f4e493ea7;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 */