diff mbox series

[v2,4/4] read_all: Prevent FNM_EXTMATCH redefinition

Message ID 20220725100641.11625-4-rpalethorpe@suse.com
State Accepted
Headers show
Series [v2,1/4] read_all: Add worker timeout and rewrite scheduling | expand

Commit Message

Richard Palethorpe July 25, 2022, 10:06 a.m. UTC
Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
---
 testcases/kernel/fs/read_all/read_all.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Li Wang Aug. 3, 2022, 7:57 a.m. UTC | #1
Reviewed-by: Li Wang <liwang@redhat.com>
diff mbox series

Patch

diff --git a/testcases/kernel/fs/read_all/read_all.c b/testcases/kernel/fs/read_all/read_all.c
index c36203846..266678ea7 100644
--- a/testcases/kernel/fs/read_all/read_all.c
+++ b/testcases/kernel/fs/read_all/read_all.c
@@ -30,6 +30,7 @@ 
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/wait.h>
+#include <fnmatch.h>
 #include <lapi/fnmatch.h>
 #include <stdlib.h>
 #include <stdio.h>
@@ -39,7 +40,6 @@ 
 #include <unistd.h>
 #include <string.h>
 #include <limits.h>
-#include <fnmatch.h>
 #include <semaphore.h>
 #include <ctype.h>
 #include <pwd.h>