c63c842717
Pointed out by Yasushi Oshima in PR 33160. Bump PKGREVISION.
15 lines
534 B
Text
15 lines
534 B
Text
$NetBSD: patch-ab,v 1.1 2007/01/14 14:37:44 obache Exp $
|
|
|
|
--- util/MYODBCUtilReadDataSourceStr.c.orig 2005-10-09 19:33:40.000000000 +0000
|
|
+++ util/MYODBCUtilReadDataSourceStr.c
|
|
@@ -19,8 +19,9 @@
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
|
|
|
|
#include "MYODBCUtil.h"
|
|
+#include <sys/param.h>
|
|
|
|
-#if defined(__APPLE__) || defined(WIN32) || defined(__sparc)
|
|
+#if defined(__APPLE__) || defined(WIN32) || defined(__sparc) || defined(BSD)
|
|
char *strndup( const char *s, size_t n )
|
|
{
|
|
size_t nAvail;
|