--- util/MYODBCUtilReadDataSourceStr.c.orig	Sun Oct  9 22:33:40 2005
+++ util/MYODBCUtilReadDataSourceStr.c	Thu Oct 27 16:35:43 2005
@@ -20,7 +20,7 @@
 
 #include "MYODBCUtil.h"
 
-#if defined(__APPLE__) || defined(WIN32) || defined(__sparc)
+#if defined(__APPLE__) || defined(WIN32) || defined(__sparc) || defined(__FreeBSD__)
 char *strndup( const char *s, size_t n )
 {
     size_t nAvail;