Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Dnsdist: include <sys/endian.h> on FreeBSD #3551
When building with g++
Fixes: In file included from dnsdist.hh:6:0, from dnsdist.cc:23: iputils.hh: In member function 'NetmaskTree<T>::node_type& NetmaskTree<T>::insert(const key_type&)': iputils.hh:532:73: error: there are no arguments to 'be32toh' that depend on a template parameter, so a declaration of 'be32toh' must be available [-fpermissive] std::bitset<32> addr(be32toh(key.getNetwork().sin4.sin_addr.s_addr)); ^ When building with g++