]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libmount: make libmount.h more robust
authorKarel Zak <kzak@redhat.com>
Tue, 20 Mar 2018 09:54:22 +0000 (10:54 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 20 Mar 2018 09:59:56 +0000 (10:59 +0100)
commitb1813c59c09fa887223d43e810b7dac9718a7522
tree335fb29d1bd9541c1c1bdc412be75854f11ad25b
parenta9cf659e0508c1f56813a7d74c64f67bbc962538
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 <lennart@poettering.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
libmount/src/libmount.h.in