summaryrefslogtreecommitdiff
path: root/math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc
diff options
context:
space:
mode:
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"