summaryrefslogtreecommitdiffstatshomepage
path: root/macro.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-09 13:17:49 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-09 13:17:49 +0000
commita0219192673923a5150c771288ed334616f6f882 (patch)
tree075284ce09795e62a9925283039720396c390f23 /macro.c
parent24f072b20b99820b86ab0e941c49026a51c11d1d (diff)
downloadmandoc-a0219192673923a5150c771288ed334616f6f882.tar.gz
mandoc-a0219192673923a5150c771288ed334616f6f882.tar.zst
mandoc-a0219192673923a5150c771288ed334616f6f882.zip
Easier integration into FreeBSD (sys/types.h, time.h, etc.).VERSION_1_4_5
Diffstat (limited to 'macro.c')
-rw-r--r--macro.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/macro.c b/macro.c
index 69f7896a..db537a72 100644
--- a/macro.c
+++ b/macro.c
@@ -1,4 +1,4 @@
-/* $Id: macro.c,v 1.62 2009/03/08 20:57:35 kristaps Exp $ */
+/* $Id: macro.c,v 1.63 2009/03/09 13:17:49 kristaps Exp $ */
/*
* Copyright (c) 2008 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -21,9 +21,8 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#ifdef __linux__
-#include <time.h>
-#endif
+
+#include "private.h"
/*
* This has scanning/parsing routines, each of which extract a macro and
@@ -31,8 +30,6 @@
* macro.
*/
-#include "private.h"
-
static int macro_obsolete(MACRO_PROT_ARGS);
static int macro_constant(MACRO_PROT_ARGS);
static int macro_constant_scoped(MACRO_PROT_ARGS);