summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2009-10-19 10:20:24 +0000
committerschwarze <schwarze@openbsd.org>2009-10-19 10:20:24 +0000
commite81991a168c47745e97fe9ddc99ed53ea1be4d50 (patch)
tree7e18f314748644ca98092d1be44660e81e81fcce /usr.bin/mandoc/man.c
parentsync to 1.9.6: here is the sync of special characters to new groff (diff)
downloadwireguard-openbsd-e81991a168c47745e97fe9ddc99ed53ea1be4d50.tar.xz
wireguard-openbsd-e81991a168c47745e97fe9ddc99ed53ea1be4d50.zip
sync to 1.9.6: u_char lives in <sys/types.h>
noticed by uqs at spoerlein dot net on FreeBSD, where <stdlib.h> does not include <sys/types.h>
Diffstat (limited to 'usr.bin/mandoc/man.c')
-rw-r--r--usr.bin/mandoc/man.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man.c b/usr.bin/mandoc/man.c
index d749a73eff3..85a8dbfd6a6 100644
--- a/usr.bin/mandoc/man.c
+++ b/usr.bin/mandoc/man.c
@@ -1,4 +1,4 @@
-/* $Id: man.c,v 1.13 2009/09/21 21:11:37 schwarze Exp $ */
+/* $Id: man.c,v 1.14 2009/10/19 10:20:24 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -14,6 +14,8 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <sys/types.h>
+
#include <assert.h>
#include <ctype.h>
#include <stdarg.h>