Skip to content

Remove duplicate include of <sys/mount.h>#953

Closed
kraj wants to merge 1 commit into
linux-test-project:masterfrom
kraj:master
Closed

Remove duplicate include of <sys/mount.h>#953
kraj wants to merge 1 commit into
linux-test-project:masterfrom
kraj:master

Conversation

@kraj
Copy link
Copy Markdown
Contributor

@kraj kraj commented Aug 7, 2022

<sys/mount.h> is already included by lapi/mount.h.

This fixes build with glibc 2.36+

Signed-off-by: Khem Raj raj.khem@gmail.com

<sys/mount.h> is already included by lapi/mount.h.

This fixes build with glibc 2.36+

Signed-off-by: Khem Raj <raj.khem@gmail.com>
@pevik
Copy link
Copy Markdown
Member

pevik commented Aug 8, 2022

Well statx09.c does not include lapi/mount.h, therefore build fails: statx09.c:119:7: error: implicit declaration of function 'mount' [-Werror=implicit-function-declaration].
Also we prefer patches to our mailing list: https://lists.linux.it/listinfo/ltp (https://github.com/linux-test-project/ltp#developers-corner)

@pevik pevik closed this Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants