summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-10-26 17:05:43 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-10-26 17:05:43 +0000
commit4bc3e1e460ff4491fd78fa2f9fdbed1a8db3681a (patch)
tree7d3454249797ea7071b7f73ce65f13f39df45bb4
parentdb291a2602e211bc92b0aeff06015e59baea0962 (diff)
downloadmandoc-4bc3e1e460ff4491fd78fa2f9fdbed1a8db3681a.tar.gz
mandoc-4bc3e1e460ff4491fd78fa2f9fdbed1a8db3681a.tar.zst
mandoc-4bc3e1e460ff4491fd78fa2f9fdbed1a8db3681a.zip
Added time.h to various files for FreeBSD compilation (thanks Ulrich Sporlein).
-rw-r--r--arch.c3
-rw-r--r--att.c3
-rw-r--r--lib.c3
-rw-r--r--mdoc_macro.c3
-rw-r--r--msec.c3
-rw-r--r--st.c3
-rw-r--r--term.c3
-rw-r--r--tree.c3
-rw-r--r--vol.c3
9 files changed, 18 insertions, 9 deletions
diff --git a/arch.c b/arch.c
index a9dc9bc1..30ddf3fd 100644
--- a/arch.c
+++ b/arch.c
@@ -1,4 +1,4 @@
-/* $Id: arch.c,v 1.4 2009/06/10 20:18:43 kristaps Exp $ */
+/* $Id: arch.c,v 1.5 2009/10/26 17:05:43 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -16,6 +16,7 @@
*/
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "libmdoc.h"
diff --git a/att.c b/att.c
index 0eb57b86..f2fb80d3 100644
--- a/att.c
+++ b/att.c
@@ -1,4 +1,4 @@
-/* $Id: att.c,v 1.4 2009/06/10 20:18:43 kristaps Exp $ */
+/* $Id: att.c,v 1.5 2009/10/26 17:05:44 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -16,6 +16,7 @@
*/
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "libmdoc.h"
diff --git a/lib.c b/lib.c
index f24f16cb..107e63f3 100644
--- a/lib.c
+++ b/lib.c
@@ -1,4 +1,4 @@
-/* $Id: lib.c,v 1.4 2009/06/10 20:18:43 kristaps Exp $ */
+/* $Id: lib.c,v 1.5 2009/10/26 17:05:44 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -16,6 +16,7 @@
*/
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "libmdoc.h"
diff --git a/mdoc_macro.c b/mdoc_macro.c
index c9e69fbd..4ca9b5bc 100644
--- a/mdoc_macro.c
+++ b/mdoc_macro.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_macro.c,v 1.37 2009/10/24 05:52:13 kristaps Exp $ */
+/* $Id: mdoc_macro.c,v 1.38 2009/10/26 17:05:44 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -19,6 +19,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <time.h>
#include "libmdoc.h"
diff --git a/msec.c b/msec.c
index 09e1a89b..a1dd40fd 100644
--- a/msec.c
+++ b/msec.c
@@ -1,4 +1,4 @@
-/* $Id: msec.c,v 1.4 2009/06/10 20:18:43 kristaps Exp $ */
+/* $Id: msec.c,v 1.5 2009/10/26 17:05:44 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -16,6 +16,7 @@
*/
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "libmdoc.h"
diff --git a/st.c b/st.c
index b898a4a3..37cb70fb 100644
--- a/st.c
+++ b/st.c
@@ -1,4 +1,4 @@
-/* $Id: st.c,v 1.4 2009/06/10 20:18:44 kristaps Exp $ */
+/* $Id: st.c,v 1.5 2009/10/26 17:05:44 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -16,6 +16,7 @@
*/
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "libmdoc.h"
diff --git a/term.c b/term.c
index 23ab6875..61fce753 100644
--- a/term.c
+++ b/term.c
@@ -1,4 +1,4 @@
-/* $Id: term.c,v 1.112 2009/10/26 09:06:03 kristaps Exp $ */
+/* $Id: term.c,v 1.113 2009/10/26 17:05:44 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -19,6 +19,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "chars.h"
#include "out.h"
diff --git a/tree.c b/tree.c
index 2d75ae1d..4220ba7d 100644
--- a/tree.c
+++ b/tree.c
@@ -1,4 +1,4 @@
-/* $Id: tree.c,v 1.16 2009/10/13 10:57:25 kristaps Exp $ */
+/* $Id: tree.c,v 1.17 2009/10/26 17:05:44 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -18,6 +18,7 @@
#include <err.h>
#include <stdio.h>
#include <stdlib.h>
+#include <time.h>
#include "mdoc.h"
#include "man.h"
diff --git a/vol.c b/vol.c
index 40e34f2f..9c5eb316 100644
--- a/vol.c
+++ b/vol.c
@@ -1,4 +1,4 @@
-/* $Id: vol.c,v 1.4 2009/06/10 20:18:44 kristaps Exp $ */
+/* $Id: vol.c,v 1.5 2009/10/26 17:05:45 kristaps Exp $ */
/*
* Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -16,6 +16,7 @@
*/
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include "libmdoc.h"