OSDN Git Service

pkt_sched: Include const.h
authorDavid Ahern <dsahern@gmail.com>
Tue, 9 Jul 2019 21:45:17 +0000 (14:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jul 2019 21:47:45 +0000 (14:47 -0700)
Commit 9903c8dc7342 changed TC_ETF defines to use _BITUL instead of BIT
but did not add the dependecy on linux/const.h. As a consequence,
importing the uapi headers into iproute2 causes builds to fail. Add
the dependency.

Fixes: 9903c8dc7342 ("etf: Don't use BIT() in UAPI headers.")
Cc: Vedang Patel <vedang.patel@intel.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/pkt_sched.h

index 390efb5..1f62325 100644 (file)
@@ -2,6 +2,7 @@
 #ifndef __LINUX_PKT_SCHED_H
 #define __LINUX_PKT_SCHED_H
 
+#include <linux/const.h>
 #include <linux/types.h>
 
 /* Logical priority bands not depending on specific packet scheduler.