[LTP] [PATCH v2 4/4] read_all: Prevent FNM_EXTMATCH redefinition
Richard Palethorpe
rpalethorpe@suse.com
Mon Jul 25 12:06:41 CEST 2022
Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
---
testcases/kernel/fs/read_all/read_all.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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>
--
2.36.1
More information about the ltp
mailing list