summaryrefslogtreecommitdiff
path: root/math/vowpal_wabbit/patches/patch-vowpalwabbit_parser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'math/vowpal_wabbit/patches/patch-vowpalwabbit_parser.cc')
-rw-r--r--math/vowpal_wabbit/patches/patch-vowpalwabbit_parser.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/vowpal_wabbit/patches/patch-vowpalwabbit_parser.cc b/math/vowpal_wabbit/patches/patch-vowpalwabbit_parser.cc
new file mode 100644
index 00000000000..e6b893aacba
--- /dev/null
+++ b/math/vowpal_wabbit/patches/patch-vowpalwabbit_parser.cc
@@ -0,0 +1,15 @@
+$NetBSD: patch-vowpalwabbit_parser.cc,v 1.1 2016/09/18 07:08:19 dholland Exp $
+
+Use standard headers.
+
+--- vowpalwabbit/parser.cc~ 2016-06-21 18:37:43.000000000 +0000
++++ vowpalwabbit/parser.cc
+@@ -34,7 +34,7 @@ int getpid()
+ #endif
+ #include <boost/program_options.hpp>
+
+-#ifdef __FreeBSD__
++#ifndef _WIN32
+ #include <netinet/in.h>
+ #endif
+