[PATCH 1/2] lib: glob: add explicit include for export.h
From: Josh Law
Date: Sun Mar 01 2026 - 10:22:00 EST
Include <linux/export.h> explicitly instead of relying on it being implicitly included by <linux/module.h> for the EXPORT_SYMBOL macro.
Signed-off-by: Josh Law <objecting@xxxxxxxxxxxxx>
---
lib/glob.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/glob.c b/lib/glob.c
index d0654a5b6f0b..902b5037a0a8 100644
--- a/lib/glob.c
+++ b/lib/glob.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
#include <linux/module.h>
#include <linux/glob.h>
+#include <linux/export.h>
/*
* The only reason this code can be compiled as a module is because the
--
2.43.0