mirror of
https://github.com/qosmio/nss-packages.git
synced 2025-12-16 08:12:53 +00:00
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 <datapronix@protonmail.com>
This commit is contained in:
parent
18a9e76182
commit
062ae3a501
11
qca-mcs/patches/0003-fix-header-guard-gcc-15.patch
Normal file
11
qca-mcs/patches/0003-fix-header-guard-gcc-15.patch
Normal file
@ -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);
|
||||
Loading…
Reference in New Issue
Block a user