summaryrefslogtreecommitdiff
path: root/Documentation/networking/timestamping/txtimestamp.c
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/networking/timestamping/txtimestamp.c')
-rw-r--r--Documentation/networking/timestamping/txtimestamp.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Documentation/networking/timestamping/txtimestamp.c b/Documentation/networking/timestamping/txtimestamp.c
index 876f71c5625a..8778e684d482 100644
--- a/Documentation/networking/timestamping/txtimestamp.c
+++ b/Documentation/networking/timestamping/txtimestamp.c
@@ -59,14 +59,6 @@
#include <time.h>
#include <unistd.h>
-/* ugly hack to work around netinet/in.h and linux/ipv6.h conflicts */
-#ifndef in6_pktinfo
-struct in6_pktinfo {
- struct in6_addr ipi6_addr;
- int ipi6_ifindex;
-};
-#endif
-
/* command line parameters */
static int cfg_proto = SOCK_STREAM;
static int cfg_ipproto = IPPROTO_TCP;