]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
tests: (test_sysinfo) include sys/mount.h
authorThomas Weißschuh <thomas@t-8ch.de>
Tue, 2 May 2023 16:53:20 +0000 (18:53 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Tue, 2 May 2023 16:53:20 +0000 (18:53 +0200)
When fsopen() is not provided by mount-api-utils.h it comes from
sys/mount.h.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
tests/helpers/test_sysinfo.c

index 4d22961c97f050558f2a9f6e2515c2d6be92752b..81fbdd75f183b0e9ed8733a77dcdc3dcc322762d 100644 (file)
@@ -26,6 +26,7 @@
 #include <wchar.h>
 #include <errno.h>
 #include <sys/ioctl.h>
+#include <sys/mount.h>
 
 #include "mount-api-utils.h"