From b1813c59c09fa887223d43e810b7dac9718a7522 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 20 Mar 2018 10:54:22 +0100 Subject: [PATCH] libmount: make libmount.h more robust Let's include sys/mount.h to be sure that our local libmount fallbacks are not used by default to avoid possible conflicts with later included sys/mount.h. Addresses: https://github.com/systemd/systemd/pull/8452 Reported-by: Lennart Poettering Signed-off-by: Karel Zak --- libmount/src/libmount.h.in | 1 + 1 file changed, 1 insertion(+) diff --git a/libmount/src/libmount.h.in b/libmount/src/libmount.h.in index 463b8ddcc7..8f323fcbf9 100644 --- a/libmount/src/libmount.h.in +++ b/libmount/src/libmount.h.in @@ -28,6 +28,7 @@ extern "C" { #include #include #include +#include #define LIBMOUNT_VERSION "@LIBMOUNT_VERSION@" #define LIBMOUNT_MAJOR_VERSION @LIBMOUNT_MAJOR_VERSION@ -- 2.47.3