$OpenBSD: patch-src_common_dbtable_cpp,v 1.3 2007/10/23 11:28:10 steven Exp $ --- src/common/dbtable.cpp.orig Tue Sep 25 10:51:21 2007 +++ src/common/dbtable.cpp Tue Oct 2 11:53:18 2007 @@ -55,6 +55,10 @@ # endif #endif +#ifndef __SQLTCHAR +#define __SQLTCHAR SQLCHAR +#endif + ULONG lastTableID = 0;