aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit48348154aec21430802ec7a6c5928ca01ff2ad1e (patch)
tree93848dadf38b27688b0bb04bcb6f9b75e607a3dd /mansearch.c
parent6b4480e041335acb92e1c76c4bdc9186f5bfb0f2 (diff)
downloadmandoc-48348154aec21430802ec7a6c5928ca01ff2ad1e.tar.gz
mandoc-48348154aec21430802ec7a6c5928ca01ff2ad1e.tar.zst
mandoc-48348154aec21430802ec7a6c5928ca01ff2ad1e.zip
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>