From 1665abf46f4a1c0ed735a4a4fe90f9785f7b901c Mon Sep 17 00:00:00 2001 From: Oliver Hartkopp Date: Tue, 28 Apr 2020 19:14:52 +0200 Subject: [PATCH] can-utils: fix missing include of libgen.h The basename() function needs libgen.h to be included as otherwise this will fail to compile in some environments. Reported-by: Robert Schwebel Signed-off-by: Oliver Hartkopp --- can-calc-bit-timing.c | 1 + slcanpty.c | 1 + 2 files changed, 2 insertions(+) diff --git a/can-calc-bit-timing.c b/can-calc-bit-timing.c index 46803f2..e3bee9f 100644 --- a/can-calc-bit-timing.c +++ b/can-calc-bit-timing.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include diff --git a/slcanpty.c b/slcanpty.c index 611af10..fc72dfe 100644 --- a/slcanpty.c +++ b/slcanpty.c @@ -26,6 +26,7 @@ #include #include +#include #include #include #include