=================================================================== RCS file: /cvs/mandoc/mansearch.c,v retrieving revision 1.67 retrieving revision 1.68 diff -u -p -r1.67 -r1.68 --- mandoc/mansearch.c 2016/07/20 00:23:14 1.67 +++ mandoc/mansearch.c 2016/08/05 23:08:03 1.68 @@ -1,4 +1,4 @@ -/* $OpenBSD: mansearch.c,v 1.67 2016/07/20 00:23:14 schwarze Exp $ */ +/* $OpenBSD: mansearch.c,v 1.68 2016/08/05 23:08:03 schwarze Exp $ */ /* * Copyright (c) 2012 Kristaps Dzonsons * Copyright (c) 2013, 2014, 2015, 2016 Ingo Schwarze @@ -21,7 +21,9 @@ #include #include +#if HAVE_ERR #include +#endif #include #include #include