Index: exe/odbc-config.c =================================================================== --- exe/odbc-config.c.orig +++ exe/odbc-config.c @@ -23,6 +23,8 @@ #include #include +#include +#include #ifdef HAVE_STDLIB_H #include Index: Drivers/nn/nndate.c =================================================================== --- Drivers/nn/nndate.c.orig +++ Drivers/nn/nndate.c @@ -16,6 +16,7 @@ #include #include +#include "misc.h" static char* month_name[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", Index: Drivers/nn/misc.h =================================================================== --- /dev/null +++ Drivers/nn/misc.h @@ -0,0 +1,7 @@ +#ifndef _MISC_H +# define _MISC_H + +extern int upper_strneq(char *s1, char *s2, int n); + + +#endif Index: Drivers/nn/connect.c =================================================================== --- Drivers/nn/connect.c.orig +++ Drivers/nn/connect.c @@ -13,7 +13,10 @@ GNU General Public License for more details. **/ #include +#include +#include #include "driver.h" +#include "misc.h" void* nnodbc_getenverrstack(void* henv) { Index: Drivers/nn/nntp.c =================================================================== --- Drivers/nn/nntp.c.orig +++ Drivers/nn/nntp.c @@ -19,6 +19,10 @@ #include #include #include +#include +#include +#include +#include # include "nntp.ci" @@ -36,6 +37,7 @@ #endif #include +#include "misc.h" typedef struct { long article_num; Index: Drivers/nn/nncol.c =================================================================== --- Drivers/nn/nncol.c.orig +++ Drivers/nn/nncol.c @@ -18,6 +18,7 @@ #include #include "nncol.ci" +#include "misc.h" int nnsql_getcolidxbyname( char* col_name ) { Index: Drivers/Postgre7.1/dlg_specific.c =================================================================== --- Drivers/Postgre7.1/dlg_specific.c.orig +++ Drivers/Postgre7.1/dlg_specific.c @@ -21,11 +21,11 @@ #endif #ifndef WIN32 -# include # include # ifdef UNIXODBC # include # else +# include # include "gpps.h" # define SQLGetPrivateProfileString(a,b,c,d,e,f) GetPrivateProfileString(a,b,c,d,e,f) # define SQLWritePrivateProfileString(a,b,c,d) WritePrivateProfileString(a,b,c,d) @@ -38,6 +38,7 @@ #include "dlg_specific.h" #include "convert.h" +#include #ifndef BOOL #define BOOL int Index: Drivers/nn/yylex.c =================================================================== --- Drivers/nn/yylex.c.orig +++ Drivers/nn/yylex.c @@ -25,6 +25,7 @@ # define YYERRCODE 256 #include +#include static int getcmpopidxbyname(char* name) {