Permalink
Browse files

Support building recursor on kFreeBSD and Hurd

  • Loading branch information...
1 parent e9c2ad3 commit 984d747cfff5b6b21d64bf02c1ced8f6eb558f83 @zeha zeha committed Jun 1, 2014
Showing with 7 additions and 1 deletion.
  1. +6 −0 pdns/Makefile-recursor
  2. +1 −1 pdns/kqueuemplexer.cc
@@ -33,6 +33,12 @@ all: message version_generated.h build
# OS specific instructions
-include sysdeps/$(shell uname).inc
+ifeq ($(shell uname),GNU/kFreeBSD)
+ -include sysdeps/FreeBSD.inc
+endif
+ifeq ($(shell uname),GNU/Hurd)
+ -include sysdeps/Linux.inc
+endif
ifeq ($(LUA), 1)
LUALIBS=$(LUA_LIBS_CONFIG)
@@ -6,7 +6,7 @@
#include <boost/lexical_cast.hpp>
#include "syncres.hh"
#include <sys/types.h>
-#ifdef __FreeBSD__
+#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
#include <sys/event.h>
#endif
#include <sys/time.h>

0 comments on commit 984d747

Please sign in to comment.