diff -ur tmp/pdns-3.1-pre.20111215.2319/modules/gmysqlbackend/Makefile.in pdns-3.1-pre.20111215.2319/modules/gmysqlbackend/Makefile.in --- tmp/pdns-3.1-pre.20111215.2319/modules/gmysqlbackend/Makefile.in Thu Dec 15 20:14:13 2011 +++ pdns-3.1-pre.20111215.2319/modules/gmysqlbackend/Makefile.in Fri Dec 16 12:21:18 2011 @@ -253,7 +253,7 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -AM_CPPFLAGS = @THREADFLAGS@ +AM_CPPFLAGS = @THREADFLAGS@ $(BOOST_CPPFLAGS) lib_LTLIBRARIES = libgmysqlbackend.la EXTRA_DIST = OBJECTFILES OBJECTLIBS INCLUDES = -I@MYSQL_incdir@ diff -ur tmp/pdns-3.1-pre.20111215.2319/pdns/ext/polarssl/library/net.c pdns-3.1-pre.20111215.2319/pdns/ext/polarssl/library/net.c --- tmp/pdns-3.1-pre.20111215.2319/pdns/ext/polarssl/library/net.c Thu Dec 15 20:14:29 2011 +++ pdns-3.1-pre.20111215.2319/pdns/ext/polarssl/library/net.c Fri Dec 16 12:01:26 2011 @@ -55,7 +55,7 @@ #include #include -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__OpenBSD__) #include #elif defined(__APPLE__) #include