diff options
author | Moritz Warning <moritzwarning@web.de> | 2020-09-30 18:09:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 18:09:49 +0300 |
commit | a42325b471364d37dcaaa89fb9043ffb75259919 (patch) | |
tree | 3d8ca95e510e957f4019187db11848dccce887ab /oonf-dlep-radio | |
parent | de3a284abc32d85fece4788cc26c7b46f80088e4 (diff) | |
parent | 9c4bb575b20d1265a67382efbaff9877526b9efe (diff) |
Merge pull request #598 from neheb/oon2
oons-dlep-radio: fix compilation with GCC 10
Diffstat (limited to 'oonf-dlep-radio')
-rw-r--r-- | oonf-dlep-radio/patches/010-gcc10.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/oonf-dlep-radio/patches/010-gcc10.patch b/oonf-dlep-radio/patches/010-gcc10.patch new file mode 100644 index 0000000..db3f69e --- /dev/null +++ b/oonf-dlep-radio/patches/010-gcc10.patch @@ -0,0 +1,20 @@ +--- a/src-plugins/generic/dlep/radio/dlep_radio_internal.h ++++ b/src-plugins/generic/dlep/radio/dlep_radio_internal.h +@@ -49,6 +49,6 @@ + #include "core/oonf_logging.h" + + /* headers only for use inside the DLEP_RADIO subsystem */ +-enum oonf_log_source LOG_DLEP_RADIO; ++extern enum oonf_log_source LOG_DLEP_RADIO; + + #endif /* DLEP_RADIO_INTERNAL_H_ */ +--- a/src-plugins/generic/nl80211_listener/nl80211_internal.h ++++ b/src-plugins/generic/nl80211_listener/nl80211_internal.h +@@ -49,6 +49,6 @@ + #include "core/oonf_logging.h" + + /* headers only for use inside the NL80211 subsystem */ +-enum oonf_log_source LOG_NL80211; ++extern enum oonf_log_source LOG_NL80211; + + #endif /* NL80211_INTERNAL_H_ */ |