From 7697a45405b44d6ab8ee6843c42be1a001644049 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Sun, 25 Feb 2018 12:01:01 +0800 Subject: [PATCH] lowpan6_ble_opts.h: Add #ifndef guard for LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS Avoid "LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS" redefined build warning if it's set to 0 by lwipopts.h. Signed-off-by: Axel Lin --- src/include/netif/lowpan6_ble_opts.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/netif/lowpan6_ble_opts.h b/src/include/netif/lowpan6_ble_opts.h index 107b1910..ec7128a6 100644 --- a/src/include/netif/lowpan6_ble_opts.h +++ b/src/include/netif/lowpan6_ble_opts.h @@ -80,6 +80,8 @@ * the address, depending on the BD address (either public or not). * Might not be RFC7668 conform, so you may select to do that (=1) or * not (=0) */ +#ifndef LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS #define LWIP_RFC7668_LINUX_WORKAROUND_PUBLIC_ADDRESS 1 +#endif #endif /* LWIP_HDR_RFC7668_OPTS_H */