aboutsummaryrefslogtreecommitdiffstats
path: root/main/freetds/fix-includes.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-27 14:06:45 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-27 14:22:24 +0000
commit8d2c903bee89abe26bbedcb9c87d9b4977ca5887 (patch)
tree947b6a6cd85675635f74f3731c43318dd0c240d0 /main/freetds/fix-includes.patch
parent4bcc6d4b25febf5771be27c1b373c30c38e80c93 (diff)
downloadaports-8d2c903bee89abe26bbedcb9c87d9b4977ca5887.tar.bz2
aports-8d2c903bee89abe26bbedcb9c87d9b4977ca5887.tar.xz
main/freetds: fix includes (to build against musl)
Diffstat (limited to 'main/freetds/fix-includes.patch')
-rw-r--r--main/freetds/fix-includes.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/freetds/fix-includes.patch b/main/freetds/fix-includes.patch
new file mode 100644
index 0000000000..cd538534c9
--- /dev/null
+++ b/main/freetds/fix-includes.patch
@@ -0,0 +1,10 @@
+--- 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>