summaryrefslogtreecommitdiff
path: root/net/dnsdist/patches/patch-dnsdist-console.cc
blob: d14346d9399a531c7066efca87ba0df3b645a4a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-dnsdist-console.cc,v 1.1 2017/03/31 20:49:51 fhajny Exp $

Add NetBSD support.

--- dnsdist-console.cc.orig	2016-12-29 12:45:46.000000000 +0000
+++ dnsdist-console.cc
@@ -22,7 +22,7 @@
 #include "dnsdist.hh"
 #include "sodcrypto.hh"
 
-#if defined (__OpenBSD__)
+#if defined (__OpenBSD__) || defined (__NetBSD__)
 #include <readline/readline.h>
 #include <readline/history.h>
 #else