summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-09-01 10:47:47 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-09-01 10:47:47 +0000
commita5aa008dcc2300ee6a20ef63e9129a24c9da6761 (patch)
treea4286cbedf4ea543f2c39af7183417df95a3bcc0
parent39f38f46ef135991e2c1ff53d33926edd13f4fb9 (diff)
downloadmandoc-a5aa008dcc2300ee6a20ef63e9129a24c9da6761.tar.gz
Allow compilation on OpenBSD.
-rw-r--r--demandoc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demandoc.c b/demandoc.c
index 37003ca0..1b31d5da 100644
--- a/demandoc.c
+++ b/demandoc.c
@@ -23,6 +23,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include "man.h"
#include "mdoc.h"