summaryrefslogtreecommitdiffstats
path: root/mansearch_const.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-09 14:05:21 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-09 14:05:21 +0000
commit1edd5931bfc9dd3824a71ed842a034c18e5426e9 (patch)
tree83d3b6804a0ff9c8310d650f6607c47ff0a491a8 /mansearch_const.c
parent9b05ea6970eb7612e6ab5468184f1cc0c1a4da77 (diff)
downloadmandoc-1edd5931bfc9dd3824a71ed842a034c18e5426e9.tar.gz
missing #include "config.h",
hence missing definition of __BEGIN_DECLS; found by Thomas Klausner <wiz at NetBSD> on SunOS 5.11
Diffstat (limited to 'mansearch_const.c')
-rw-r--r--mansearch_const.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mansearch_const.c b/mansearch_const.c
index b6d37fdb..dfe5c049 100644
--- a/mansearch_const.c
+++ b/mansearch_const.c
@@ -14,6 +14,10 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <stdint.h>