summaryrefslogtreecommitdiff
path: root/databases/myodbc/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'databases/myodbc/patches/patch-ab')
-rw-r--r--databases/myodbc/patches/patch-ab15
1 files changed, 15 insertions, 0 deletions
diff --git a/databases/myodbc/patches/patch-ab b/databases/myodbc/patches/patch-ab
new file mode 100644
index 00000000000..d1bd4fac672
--- /dev/null
+++ b/databases/myodbc/patches/patch-ab
@@ -0,0 +1,15 @@
+$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;