[LTP] [PATCH] configure.ac: Fix redefinition of mount_attr by checking sys/mount.h

Marcos Paulo de Souza mpdesouza@suse.com
Mon Sep 26 18:59:49 CEST 2022


mount_setattr and mount_attr are defined in sys/mount.h.

Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
---
 Tested on openSUSE Tumbleweed

 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 1deeffc0c..0e9895415 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,6 +71,7 @@ AC_CHECK_HEADERS_ONCE([ \
     sys/epoll.h \
     sys/fanotify.h \
     sys/inotify.h \
+    sys/mount.h \
     sys/pidfd.h
     sys/prctl.h \
     sys/shm.h \
-- 
2.37.3



More information about the ltp mailing list