From 062ae3a5010ea7650a4e871e78942676e5446626 Mon Sep 17 00:00:00 2001 From: Sean Khan Date: Sun, 27 Apr 2025 13:45:02 -0400 Subject: [PATCH] qca-mcs: fix header-guard error for gcc 15 GCC 15 has stricter checks for header macros where mismatches between `#ifndef` and `#define` are flagged as errors. Signed-off-by: Sean Khan --- qca-mcs/patches/0003-fix-header-guard-gcc-15.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 qca-mcs/patches/0003-fix-header-guard-gcc-15.patch diff --git a/qca-mcs/patches/0003-fix-header-guard-gcc-15.patch b/qca-mcs/patches/0003-fix-header-guard-gcc-15.patch new file mode 100644 index 0000000..9d67b29 --- /dev/null +++ b/qca-mcs/patches/0003-fix-header-guard-gcc-15.patch @@ -0,0 +1,11 @@ +--- a/mc_ovs.h ++++ b/mc_ovs.h +@@ -14,7 +14,7 @@ + */ + + #ifndef _MC_OVS_H_ +-#define _MC_OVS_H ++#define _MC_OVS_H_ + + int mc_ovs_init(void); + void mc_ovs_exit(void);