summaryrefslogtreecommitdiff
path: root/src/lib/wrdd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/wrdd.c')
-rw-r--r--src/lib/wrdd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/wrdd.c b/src/lib/wrdd.c
index da082f8163..a8390cf732 100644
--- a/src/lib/wrdd.c
+++ b/src/lib/wrdd.c
@@ -14,9 +14,10 @@
* GNU General Public License for more details.
*/
+#include <compiler.h>
#include <wrdd.h>
-uint16_t __attribute__((weak)) wifi_regulatory_domain(void)
+uint16_t __weak wifi_regulatory_domain(void)
{
return WRDD_DEFAULT_REGULATORY_DOMAIN;
}