$NetBSD: patch-aa,v 1.1 2006/01/23 18:53:45 xtraeme Exp $ --- driver/results.c.orig 2006-01-23 19:13:42.000000000 +0100 +++ driver/results.c 2006-01-23 19:14:15.000000000 +0100 @@ -49,6 +49,7 @@ #include "myodbc3.h" #include #include +#include #define SQL_MY_PRIMARY_KEY 1212 @@ -543,7 +544,7 @@ @purpose : rerunrs column atribute values */ -#if defined(__APPLE__) +#if defined(__APPLE__) || defined(BSD) SQLRETURN SQL_API SQLColAttribute( SQLHSTMT StatementHandle, SQLUSMALLINT ColumnNumber, SQLUSMALLINT FieldIdentifier,