summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-25 16:08:30 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-25 16:08:30 +0000
commit55683ede1843a9c3cea8cdfa0349f7364140d61e (patch)
tree2bc92f173de7ab594e924e2d7f786dd976a21cf5
parentbd26da950b7144cb234ef8d0864173a897d2fd28 (diff)
downloadmandoc-55683ede1843a9c3cea8cdfa0349f7364140d61e.tar.gz
mandoc-55683ede1843a9c3cea8cdfa0349f7364140d61e.tar.zst
mandoc-55683ede1843a9c3cea8cdfa0349f7364140d61e.zip
Linux fix (prototype).
-rw-r--r--man_action.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/man_action.c b/man_action.c
index cb82b6f1..fb29115a 100644
--- a/man_action.c
+++ b/man_action.c
@@ -1,4 +1,4 @@
-/* $Id: man_action.c,v 1.2 2009/03/25 16:07:36 kristaps Exp $ */
+/* $Id: man_action.c,v 1.3 2009/03/25 16:08:30 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org>
*
@@ -27,6 +27,9 @@
#include "libman.h"
+#ifdef __linux__
+extern char *strptime(const char *, const char *, struct tm *);
+#endif
struct actions {
int (*post)(struct man *);