From c2ff386971a2426d02c5d2fd732ba4788356916fa401d3f43f866ee9b763bb1b Mon Sep 17 00:00:00 2001 From: "Michal Hrusecky (old before rename to _miska_)" Date: Thu, 15 Nov 2012 12:59:13 +0000 Subject: [PATCH] more gcc OBS-URL: https://build.opensuse.org/package/show/server:database/unixODBC?expand=0&rev=18 --- unixODBC-gccwarnings.patch | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/unixODBC-gccwarnings.patch b/unixODBC-gccwarnings.patch index b1b3e56..6a7257a 100644 --- a/unixODBC-gccwarnings.patch +++ b/unixODBC-gccwarnings.patch @@ -51,7 +51,15 @@ Index: Drivers/nn/nntp.c =================================================================== --- Drivers/nn/nntp.c.orig +++ Drivers/nn/nntp.c -@@ -36,6 +36,7 @@ +@@ -19,6 +19,7 @@ + #include + #include + #include ++#include + + # include "nntp.ci" + +@@ -36,6 +37,7 @@ #endif #include @@ -88,3 +96,23 @@ Index: Drivers/Postgre7.1/dlg_specific.c # 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) + {