[Pdns-dev] [PATCH] Fix kqueue support for generic BSD

Roy Marples roy at marples.name
Wed Apr 22 00:58:55 CEST 2009


Tested working on NetBSD.

To complete the chain, I symlink sysdeps/FreeBSD.inc to sysdeps/NetBSD.inc
I doubt the build will vary that much for any BSD really so it would be 
better to install it as a symlink in subversion. I cannot provide a 
patch for that though.

Thanks

Roy
-------------- next part --------------
$NetBSD: patch-ag,v 1.1 2009/04/21 22:52:38 roy Exp $

--- kqueuemplexer.cc.orig	2009-04-21 23:45:31.000000000 +0100
+++ kqueuemplexer.cc	2009-04-21 23:45:41.000000000 +0100
@@ -6,9 +6,7 @@
 #include <boost/lexical_cast.hpp>
 #include "syncres.hh"
 #include <sys/types.h>
-#ifdef __FreeBSD__ 
 #include <sys/event.h>
-#endif
 #include <sys/time.h>
 
 using namespace boost;


More information about the Pdns-dev mailing list