diff options
author | dholland <dholland@pkgsrc.org> | 2016-09-18 07:08:19 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2016-09-18 07:08:19 +0000 |
commit | bc618663d5b209964244eda5ad639eee0e758c83 (patch) | |
tree | 6be69694753c549ebd1b5f4296a51b1214fdbd48 /math/vowpal_wabbit/patches/patch-vowpalwabbit_sender.cc | |
parent | 9e3b0e3145ef5950ec255f2945f556a6eab7f6b0 (diff) | |
download | pkgsrc-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.cc | 15 |
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" |