selftest: fix headers in fclog.c
PATCH 1/1 selftest: fix headers in fclog.c
fclog.c does not compile because it is missing fcntl.h, needed for O_RDONLY etc.
There are also some redundant includes that are also in kselftest_harness.h.
Signed-off-by Jori Koolstra <[email protected]>
--- tools/testing/selftests/filesystems/fclog.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
tools/testing/selftests/filesystems/fclog.c +1 -3
@@ -6,10 +6,8 @@#include <assert.h> #include <errno.h> +#include <fcntl.h> #include <sched.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> #include <unistd.h> #include <sys/mount.h>
Signature · 1 line
2.55.0