summaryrefslogtreecommitdiffstatshomepage
path: root/mdocterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdocterm.c')
-rw-r--r--mdocterm.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/mdocterm.c b/mdocterm.c
index 46451789..8e5f15d6 100644
--- a/mdocterm.c
+++ b/mdocterm.c
@@ -1,4 +1,4 @@
- /* $Id: mdocterm.c,v 1.4 2009/02/23 09:33:34 kristaps Exp $ */
+ /* $Id: mdocterm.c,v 1.5 2009/02/23 12:45:19 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -24,6 +24,10 @@
#include <stdlib.h>
#include <string.h>
+#ifdef __linux__
+#include <time.h>
+#endif
+
#include "mmain.h"
#include "term.h"
@@ -61,9 +65,6 @@ main(int argc, char *argv[])
const struct mdoc *mdoc;
struct termp termp;
- extern int optreset;
- extern int optind;
-
p = mmain_alloc();
if ( ! mmain_getopt(p, argc, argv, NULL, NULL, NULL, NULL))