doc: fix the compile error of txtimestamp.c
authorWANG Cong <xiyou.wangcong@gmail.com>
Tue, 6 Jan 2015 23:45:32 +0000 (15:45 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Jan 2015 03:29:11 +0000 (19:29 -0800)
commitcd91cc5bdddf50f5c775fe5baeef7891b31d8741
treeaa7f2a0bf101d08c3a22d6a9b7b9167b6d73d3a9
parent3b50d9029809b60a5081d90c282aa04d438d3ea1
doc: fix the compile error of txtimestamp.c

Vinson reported:

  HOSTCC  Documentation/networking/timestamping/txtimestamp
Documentation/networking/timestamping/txtimestamp.c:64:8: error:
redefinition of ‘struct in6_pktinfo’
 struct in6_pktinfo {
        ^
In file included from /usr/include/arpa/inet.h:23:0,
                 from Documentation/networking/timestamping/txtimestamp.c:33:
/usr/include/netinet/in.h:456:8: note: originally defined here
 struct in6_pktinfo
        ^

After we sync with libc header, we don't need this ugly hack any more.

Reported-by: Vinson Lee <vlee@twopensource.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/timestamping/txtimestamp.c