diff options
-rw-r--r-- | make-netbsd.mk | 2 | ||||
-rw-r--r-- | node/Constants.hpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/make-netbsd.mk b/make-netbsd.mk index b53c969c..f2490038 100644 --- a/make-netbsd.mk +++ b/make-netbsd.mk @@ -34,7 +34,7 @@ else STRIP=strip --strip-all endif -CXXFLAGS+=$(CFLAGS) -fno-rtti -fpermissive -w +CXXFLAGS+=$(CFLAGS) -fno-rtti -fpermissive all: one diff --git a/node/Constants.hpp b/node/Constants.hpp index b137e6ae..b16cb9b5 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -124,6 +124,10 @@ #include <endian.h> #endif +#ifdef __NetBSD__ +#define RTF_MULTICAST 0x20000000 +#endif + /** * Length of a ZeroTier address in bytes */ |