summaryrefslogtreecommitdiff
path: root/accel-pppd/shaper/leaf_qdisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/shaper/leaf_qdisc.c')
-rw-r--r--accel-pppd/shaper/leaf_qdisc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/shaper/leaf_qdisc.c b/accel-pppd/shaper/leaf_qdisc.c
index 6c90968..cdc9eed 100644
--- a/accel-pppd/shaper/leaf_qdisc.c
+++ b/accel-pppd/shaper/leaf_qdisc.c
@@ -56,6 +56,7 @@ static int parse_size(const char *str, int *r)
return 0;
}
+#ifdef TCA_FQ_CODEL_MAX
static int parse_time(const char *str, int *r)
{
double t;
@@ -82,7 +83,7 @@ static int parse_time(const char *str, int *r)
return 0;
}
-
+#endif
static int parse_int(const char *str, int *r)
{