$NetBSD: patch-ac,v 1.3 2009/02/19 06:31:55 obache Exp $

Add NetBSD support.
http://sourceforge.net/tracker/index.php?func=detail&aid=2447593&group_id=200242&atid=972717

--- myconf.h.orig	2009-02-18 02:46:09.000000000 +0000
+++ myconf.h
@@ -92,7 +92,7 @@
 #endif
 
 #if !defined(_SYS_LINUX_) && !defined(_SYS_FREEBSD_) && !defined(_SYS_MACOSX_) && \
-  !defined(_SYS_SUNOS_)
+  !defined(_SYS_SUNOS_) && !defined(_SYS_NETBSD_)
 #error =======================================
 #error Your platform is not supported.  Sorry.
 #error =======================================
@@ -212,7 +212,7 @@
 #include <tctdb.h>
 #include <tcadb.h>
 
-#if defined(_SYS_FREEBSD_) || defined(_SYS_MACOSX_)
+#if defined(_SYS_FREEBSD_) || defined(_SYS_MACOSX_) || defined(_SYS_NETBSD_)
 #define TTUSEKQUEUE    1
 #elif defined(_SYS_SUNOS_)
 
@@ -241,7 +241,7 @@ typedef struct { int portev_object; } po
 
 #define sizeof(a)      ((int)sizeof(a))
 
-#if defined(_SYS_FREEBSD_) || defined(_SYS_NETBSD_) || defined(_SYS_OPENBSD_)
+#if defined(_SYS_FREEBSD_)
 #define nan(TC_a)      strtod("nan", NULL)
 #endif
 
