summaryrefslogtreecommitdiff
path: root/net/powerdns-recursor/patches/patch-iputils.hh
blob: 1c00eac98470b42272cd81626a31c5e1c73d6f9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-iputils.hh,v 1.2 2017/03/09 13:43:49 fhajny Exp $

IP_PKTINFO structure different on NetBSD than expected.

--- iputils.hh.orig	2017-01-13 08:55:55.000000000 +0000
+++ iputils.hh
@@ -38,6 +38,10 @@
 #include <boost/tuple/tuple.hpp>
 #include <boost/tuple/tuple_comparison.hpp>
 
+#if defined(IP_PKTINFO) && defined(__NetBSD__)
+#undef IP_PKTINFO
+#endif
+
 #include "namespaces.hh"
 
 #ifdef __APPLE__