summaryrefslogtreecommitdiffstatshomepage
path: root/html.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-21 13:43:21 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-21 13:43:21 +0000
commit45125ba202b3ffc9d0c79af5dd63dce1fabcc6bb (patch)
tree9ae3965515445e0e73eced5b447f55d075522e9b /html.c
parentbdbbf69120cae93b832d531326bd1587b46ccdda (diff)
downloadmandoc-45125ba202b3ffc9d0c79af5dd63dce1fabcc6bb.tar.gz
mandoc-45125ba202b3ffc9d0c79af5dd63dce1fabcc6bb.tar.zst
mandoc-45125ba202b3ffc9d0c79af5dd63dce1fabcc6bb.zip
getsubopt() is in unistd.h, not stdlib.h (error in xBSD manuals).
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index e16f67c9..17d22b7e 100644
--- a/html.c
+++ b/html.c
@@ -1,4 +1,4 @@
-/* $Id: html.c,v 1.44 2009/09/21 13:42:01 kristaps Exp $ */
+/* $Id: html.c,v 1.45 2009/09/21 13:43:21 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include "chars.h"
#include "mdoc.h"