]> git.ipfire.org Git - thirdparty/util-linux.git/commit
tests: include <sys/mount.h> only on Linux
authorPino Toscano <toscano.pino@tiscali.it>
Sun, 7 Jul 2024 07:08:06 +0000 (09:08 +0200)
committerPino Toscano <toscano.pino@tiscali.it>
Sun, 7 Jul 2024 07:08:06 +0000 (09:08 +0200)
commitb7eef7df264aa704e1dd8c1ebe373103bf8bd569
treedfd285f87c7ce8cd26fddb283468ffdae750b953
parent0309a6f5ca018d83420e49e0f9d046fecdb29261
tests: include <sys/mount.h> only on Linux

Include <sys/mount.h> only on Linux; it is used for fsopen(), which is
available only on Linux.

Signed-off-by: Pino Toscano <toscano.pino@tiscali.it>
tests/helpers/test_sysinfo.c