summaryrefslogtreecommitdiff
path: root/src/socketengines/socketengine_poll.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-22 17:24:54 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-22 17:24:54 +0000
commite1bca06658881040e5ca6a9a36be6e327779fe3b (patch)
tree4e60b32bf7f27ae9def25dd6c88dc46e80ef3755 /src/socketengines/socketengine_poll.cpp
parent69f498085c4a73aa9bcd6c3bd9be5273b3fbc36d (diff)
Fix for bug #686, include sysctl.h in a freebsd-specific ifdef
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10983 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/socketengines/socketengine_poll.cpp')
-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)
{