$OpenBSD: patch-ext_tiny_tds_result_h,v 1.1 2011/09/09 00:47:23 jeremy Exp $
--- ext/tiny_tds/result.h.orig	Thu Sep  8 16:00:29 2011
+++ ext/tiny_tds/result.h	Thu Sep  8 16:01:18 2011
@@ -2,8 +2,9 @@
 #ifndef TINYTDS_RESULT_H
 #define TINYTDS_RESULT_H
 
-// TODO: Is this needed?
-typedef tds_sysdep_int64_type DBBIGINT;  /* Missing in sybdb.h ?!?! */
+#ifndef DBSETLDBNAME
+typedef tds_sysdep_int64_type DBBIGINT;  /* For FreeTDS 0.82 */
+#endif
 
 void init_tinytds_result();
 VALUE rb_tinytds_new_result_obj(DBPROCESS *c);
