$NetBSD: patch-be,v 1.1.1.1 2011/02/16 17:10:41 thomasklausner Exp $

--- src/druntime/src/rt/critical.c.orig	2010-12-15 07:30:48.000000000 +0000
+++ src/druntime/src/rt/critical.c
@@ -83,7 +83,7 @@ void _STD_critical_term()
 
 /* ================================= linux ============================ */
 
-#if linux || __APPLE__ || __FreeBSD__
+#if linux || __APPLE__ || __FreeBSD__ || __NetBSD__
 
 #include <stdio.h>
 #include <stdlib.h>
