dnsdist: Fix building with clang on OS X and FreeBSD #4533

Merged
merged 2 commits into from Oct 24, 2016

Projects

None yet

2 participants

@rgacogne
Member
rgacogne commented Oct 5, 2016

A big thanks to @cynthia!

Fixes #3552.

@rgacogne rgacogne added the dnsdist label Oct 5, 2016
@rgacogne
Member
rgacogne commented Oct 5, 2016

ace828b is also fixing compilation issue on the auth, so maybe I should split that PR.

@Habbie
Member
Habbie commented Oct 5, 2016

Perhaps upstream that one to luawrapper even, although I bet we are out of sync already?

rgacogne added some commits Oct 5, 2016
@rgacogne rgacogne dnsdist: Fix compilation on OS X and FreeBSD d6a9a39
@rgacogne rgacogne dnsdist: Use portable IPPROTO_TCP instead of SOL_TCP for TCP_FASTOPEN
This fixes the compilation on FreeBSD, where IPPROTO_TCP and
TCP_FASTOPEN are defined but SOL_TCP isn't.
1654ece
@rgacogne
Member
rgacogne commented Oct 5, 2016

The luawrapper fix from ace828b has been moved to #4537.

@rgacogne rgacogne added this to the dnsdist-1.1.0 milestone Oct 6, 2016
@Habbie Habbie merged commit eaed044 into PowerDNS:master Oct 24, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@rgacogne rgacogne deleted the rgacogne:dnsdist-clang-bsd branch Oct 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment