From e1bca06658881040e5ca6a9a36be6e327779fe3b Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 22 Jan 2009 17:24:54 +0000 Subject: 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 --- src/socketengines/socketengine_poll.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/socketengines/socketengine_poll.cpp') 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 +#ifdef __FreeBSD__ + #include +#endif PollEngine::PollEngine(InspIRCd* Instance) : SocketEngine(Instance) { -- cgit v1.2.3