Skip to content

Commit

Permalink
Merge pull request #1846 from centromere/v2-freebsd
Browse files Browse the repository at this point in the history
Fix build on FreeBSD
  • Loading branch information
kentonv committed Nov 20, 2023
2 parents f553171 + 0eea6f1 commit 55880d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions c++/src/kj/cidr.c++
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
#include <arpa/inet.h>
#endif

#if __FreeBSD__
#include <netinet/in.h>
#endif

namespace kj {

CidrRange::CidrRange(StringPtr pattern) {
Expand Down

0 comments on commit 55880d1

Please sign in to comment.