$NetBSD: patch-ac,v 1.1.1.1 2003/03/26 00:05:27 ianharding Exp $

--- thread/reentrant.c.orig	Thu Oct 18 21:43:49 2001
+++ thread/reentrant.c
@@ -61,7 +61,7 @@
 
 static Tls *GetTls(void);
 
-#ifdef MACOSX
+#if defined(__NetBSD__) || defined(MACOSX)
 #define NO_REENTRANT	1
 char *strtok_r(char *s, const char *delim, char **last);
 #endif
@@ -312,7 +312,7 @@
 
 
 
-#ifdef MACOSX
+#if defined(__NetBSD__) || defined(MACOSX)
 
 /*
  * Copyright (c) 1998 Softweyr LLC.  All rights reserved.
