aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-08-05 15:29:30 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-08-05 15:29:30 +0000
commit41d41cacf7c2695a55819aa5fa7e98e8cda631b5 (patch)
tree7eaae7b6ec7957bd4a578b7c1af3a808ae92aa2a
parent5b9e9b450ca5147ea763268e5d5e896083eedec7 (diff)
downloadmandoc-41d41cacf7c2695a55819aa5fa7e98e8cda631b5.tar.gz
mandoc-41d41cacf7c2695a55819aa5fa7e98e8cda631b5.tar.zst
mandoc-41d41cacf7c2695a55819aa5fa7e98e8cda631b5.zip
mansearch.h uses uint64_t, so it needs stdint.h; found on Linux
-rw-r--r--cgi.c3
-rw-r--r--mansearch.35
2 files changed, 5 insertions, 3 deletions
diff --git a/cgi.c b/cgi.c
index 0ea88ea8..1e38e3d8 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1,4 +1,4 @@
-/* $Id: cgi.c,v 1.91 2014/07/25 21:05:41 schwarze Exp $ */
+/* $Id: cgi.c,v 1.92 2014/08/05 15:29:30 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014 Ingo Schwarze <schwarze@usta.de>
@@ -23,6 +23,7 @@
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/mansearch.3 b/mansearch.3
index 38051528..28590e52 100644
--- a/mansearch.3
+++ b/mansearch.3
@@ -1,4 +1,4 @@
-.\" $Id: mansearch.3,v 1.1 2014/04/15 20:18:26 schwarze Exp $
+.\" $Id: mansearch.3,v 1.2 2014/08/05 15:29:30 schwarze Exp $
.\"
.\" Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: April 15 2014 $
+.Dd $Mdocdate: August 5 2014 $
.Dt MANSEARCH 3
.Os
.Sh NAME
@@ -22,6 +22,7 @@
.Nm mansearch_setup
.Nd search manual page databases
.Sh SYNOPSIS
+.In stdint.h
.In manpath.h
.In mansearch.h
.Ft int