summaryrefslogtreecommitdiffstatshomepage
path: root/mdoc_man.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-10-08 12:47:40 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-10-08 12:47:40 +0000
commit8251deefbf667f53c08d8df8315ea48982706aae (patch)
treec741ff6ab6c1260effcf4829e8f63a6597357f11 /mdoc_man.c
parent438bda764065b8c42a87eb37f3a9308e3aba267f (diff)
downloadmandoc-8251deefbf667f53c08d8df8315ea48982706aae.tar.gz
mandoc-8251deefbf667f53c08d8df8315ea48982706aae.tar.zst
mandoc-8251deefbf667f53c08d8df8315ea48982706aae.zip
Tweak Makefile and add config.h to -Tman to allow cross-compiling on
Windows (via MingW).
Diffstat (limited to 'mdoc_man.c')
-rw-r--r--mdoc_man.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mdoc_man.c b/mdoc_man.c
index b64c7eae..f0501a5d 100644
--- a/mdoc_man.c
+++ b/mdoc_man.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_man.c,v 1.6 2011/10/08 11:37:27 kristaps Exp $ */
+/* $Id: mdoc_man.c,v 1.7 2011/10/08 12:47:40 kristaps Exp $ */
/*
* Copyright (c) 2011 Ingo Schwarze <schwarze@openbsd.org>
*
@@ -14,6 +14,10 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <string.h>