summaryrefslogtreecommitdiff
path: root/math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2016-09-18 07:08:19 +0000
committerdholland <dholland@pkgsrc.org>2016-09-18 07:08:19 +0000
commitbc618663d5b209964244eda5ad639eee0e758c83 (patch)
tree6be69694753c549ebd1b5f4296a51b1214fdbd48 /math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc
parent9e3b0e3145ef5950ec255f2945f556a6eab7f6b0 (diff)
downloadpkgsrc-bc618663d5b209964244eda5ad639eee0e758c83.tar.gz
Fix the first two (glaring) build errors. There seem to be a lot more.
Diffstat (limited to 'math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc')
-rw-r--r--math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc b/math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc
new file mode 100644
index 00000000000..16f820b82f8
--- /dev/null
+++ b/math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc
@@ -0,0 +1,15 @@
+$NetBSD: patch-vowpalwabbit_sender.cc,v 1.1 2016/09/18 07:08:19 dholland Exp $
+
+Use standard headers.
+
+--- vowpalwabbit/sender.cc~ 2016-06-21 18:37:43.000000000 +0000
++++ vowpalwabbit/sender.cc
+@@ -13,6 +13,8 @@
+ # define SHUT_RDWR SD_BOTH
+ #endif
+ #else
++#include <sys/types.h>
++#include <sys/socket.h>
+ #include <netdb.h>
+ #endif
+ #include "io_buf.h"