summaryrefslogtreecommitdiff
path: root/src/socketengines
diff options
context:
space:
mode:
Diffstat (limited to 'src/socketengines')
-rw-r--r--src/socketengines/socketengine_poll.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/socketengines/socketengine_poll.cpp b/src/socketengines/socketengine_poll.cpp
index 3c6961838..c05ed25fa 100644
--- a/src/socketengines/socketengine_poll.cpp
+++ b/src/socketengines/socketengine_poll.cpp
@@ -15,6 +15,9 @@
#include "exitcodes.h"
#include "socketengines/socketengine_poll.h"
#include <ulimit.h>
+#ifdef __FreeBSD__
+ #include <sys/sysctl.h>
+#endif
PollEngine::PollEngine(InspIRCd* Instance) : SocketEngine(Instance)
{