summarylogtreecommitdiffstats
path: root/fix-compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-compile.patch')
-rw-r--r--fix-compile.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/fix-compile.patch b/fix-compile.patch
new file mode 100644
index 000000000000..5ec880ab2d13
--- /dev/null
+++ b/fix-compile.patch
@@ -0,0 +1,10 @@
+--- a/igb.h
++++ b/igb.h
+@@ -72,7 +72,6 @@ struct igb_adapter;
+ #ifdef HAVE_PTP_1588_CLOCK
+ #ifdef HAVE_INCLUDE_LINUX_TIMECOUNTER_H
+ #include <linux/timecounter.h>
+-#else
+ #include <linux/clocksource.h>
+ #endif /* HAVE_INCLUDE_TIMECOUNTER_H */
+ #include <linux/net_tstamp.h>