From 79eb9d28c9b22fa419e2c3f1b2cc6e285720ae41 Mon Sep 17 00:00:00 2001 From: Alexei Starovoitov Date: Tue, 1 Apr 2014 18:26:48 -0700 Subject: [PATCH] net: ti: fix CPTS driver build on arm fix build errors: drivers/net/ethernet/ti/cpts.c:266:12: error: 'ETH_HLEN' undeclared (first use in this function) drivers/net/ethernet/ti/cpts.c:276:23: error: 'VLAN_HLEN' undeclared (first use in this function) Fixes: 408eccce3204 ("net: ptp: move PTP classifier in its own file") Reported-by: Fengguang Wu Signed-off-by: Alexei Starovoitov Suggested-by: Daniel Borkmann Cc: Richard Cochran Acked-by: Daniel Borkmann Signed-off-by: David S. Miller --- drivers/net/ethernet/ti/cpts.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/ethernet/ti/cpts.c b/drivers/net/ethernet/ti/cpts.c index a3bbf59eaafd..243513980b51 100644 --- a/drivers/net/ethernet/ti/cpts.c +++ b/drivers/net/ethernet/ti/cpts.c @@ -26,6 +26,8 @@ #include #include #include +#include +#include #include "cpts.h" -- 2.39.5