$NetBSD: patch-af,v 1.6 2011/02/24 11:05:36 adam Exp $ --- boost/config/platform/bsd.hpp.orig 2009-03-12 09:41:50 +0200 +++ boost/config/platform/bsd.hpp 2009-03-12 15:37:16 +0200 @@ -75,7 +75,7 @@ // // The BSD has macros only, no functions: // -#if !defined(__OpenBSD__) || defined(__DragonFly__) +#if !defined(__OpenBSD__) && !defined(__DragonFly__) # define BOOST_NO_CTYPE_FUNCTIONS #endif