Skip to content

Commit 829e85f

Browse files
fix: FreeBSD compile error (#47)
1 parent 0c84251 commit 829e85f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

include/cpp-statsd-client/UDPSender.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313
#include <unistd.h>
1414
#endif
1515

16+
#if defined(__FreeBSD__)
17+
#include <netinet/in.h>
18+
#endif
19+
1620
#include <atomic>
1721
#include <cmath>
1822
#include <cstdint>

0 commit comments

Comments
 (0)