diff --git a/zeroconf/networkhotplugnotifier.cpp b/zeroconf/networkhotplugnotifier.cpp
index 7b99d7b..6692752 100644
--- a/zeroconf/networkhotplugnotifier.cpp
+++ b/zeroconf/networkhotplugnotifier.cpp
@@ -26,8 +26,13 @@ along with this program. If not, see .
#include
#include
#include
+#if __FreeBSD__
+#include
+#include
+#else
#include
#include
+#endif
#include
#endif // !__APPLE__