diff options
Diffstat (limited to 'main/freetds/fix-includes.patch')
-rw-r--r-- | main/freetds/fix-includes.patch | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/main/freetds/fix-includes.patch b/main/freetds/fix-includes.patch index cd538534c9..af9465d758 100644 --- a/main/freetds/fix-includes.patch +++ b/main/freetds/fix-includes.patch @@ -1,10 +1,12 @@ ---- freetds-0.92.79.orig/src/apps/tsql.c -+++ freetds-0.92.79/src/apps/tsql.c -@@ -33,6 +33,7 @@ - # endif - #endif - -+#include <getopt.h> - #include <stdio.h> - #include <assert.h> - #include <ctype.h> +diff --git a/src/apps/fisql/fisql.c b/src/apps/fisql/fisql.c +index ec8fded..fd76956 100644 +--- a/src/apps/fisql/fisql.c ++++ b/src/apps/fisql/fisql.c +@@ -25,6 +25,7 @@ + #include <unistd.h> + #include <setjmp.h> + #include <signal.h> ++#include <sys/stat.h> + #ifdef HAVE_READLINE + #include <readline/readline.h> + #include <readline/history.h> |