From: Petr Tesarik Date: Fri Mar 5 18:25:14 2021 +0100 Subject: mounts.cc: Include Upstream: merged Git-commit: 9c47874dadcdb39fbb3cededc46bc32449f42374 Since the code uses ioctl(), it should include the corresponding header file. This was not found before release, because including the header file is not necessary with some glibc versions... Signed-off-by: Petr Tesarik diff --git a/kdumptool/mounts.cc b/kdumptool/mounts.cc index 79bf4fc..d792e53 100644 --- a/kdumptool/mounts.cc +++ b/kdumptool/mounts.cc @@ -36,6 +36,9 @@ #include #include +// for ioctl() +#include + #include #include "global.h"