aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2013-10-11 00:06:48 +0000
committerIngo Schwarze <schwarze@openbsd.org>2013-10-11 00:06:48 +0000
commitdad29be7e8875413f0b118b5ced7d07021e2147c (patch)
tree64d6dbb2c6d161dddaedd8c31db8e95023c31d27
parentbfb288c292363d0bf1ce8fc4ebc105acf023f766 (diff)
downloadmandoc-dad29be7e8875413f0b118b5ced7d07021e2147c.tar.gz
mandoc-dad29be7e8875413f0b118b5ced7d07021e2147c.tar.zst
mandoc-dad29be7e8875413f0b118b5ced7d07021e2147c.zip
Thomas Klausner <wiz at NetBSD dot org> finally succeeded to build
on SmartOS and sent these additional patches, thanks!
-rw-r--r--catman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/catman.c b/catman.c
index 2a75dc4e..8767e5e3 100644
--- a/catman.c
+++ b/catman.c
@@ -1,4 +1,4 @@
-/* $Id: catman.c,v 1.11.2.1 2013/10/05 20:30:05 schwarze Exp $ */
+/* $Id: catman.c,v 1.11.2.2 2013/10/11 00:06:48 schwarze Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -31,7 +31,7 @@
#include <string.h>
#include <unistd.h>
-#ifdef __linux__
+#if defined(__linux__) || defined(__sun)
# include <db_185.h>
#else
# include <db.h>