summaryrefslogtreecommitdiffstats
path: root/mansearch.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2016-07-20 00:23:14 +0000
committerIngo Schwarze <schwarze@openbsd.org>2016-07-20 00:23:14 +0000
commitabf997389de6e4b73f6010ae4ec6fbda522dfdad (patch)
tree0514d07f5c392a2ad00ded7a0b0e290f645f284c /mansearch.c
parent8c21c9f1d9ec00163ee18d64eeecbfbfcb70d0a5 (diff)
downloadmandoc-abf997389de6e4b73f6010ae4ec6fbda522dfdad.tar.gz
Linux compatibility: Work around the lack of EFTYPE and protect <err.h>.
Diffstat (limited to 'mansearch.c')
-rw-r--r--mansearch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mansearch.c b/mansearch.c
index b2410e99..30e7768b 100644
--- a/mansearch.c
+++ b/mansearch.c
@@ -1,7 +1,7 @@
/* $OpenBSD: mansearch.c,v 1.50 2016/07/09 15:23:36 schwarze Exp $ */
/*
* Copyright (c) 2012 Kristaps Dzonsons <kristaps@bsd.lv>
- * Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
+ * Copyright (c) 2013, 2014, 2015, 2016 Ingo Schwarze <schwarze@openbsd.org>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -15,6 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "config.h"
#include <sys/mman.h>
#include <sys/types.h>