From f497e9dcfa8e2034461f65026fac8ee594fc8fd8 Mon Sep 17 00:00:00 2001 From: daniel Date: Tue, 19 Aug 2014 05:18:16 +0000 Subject: [PATCH] libroff depends on libmandoc and so libmandoc should be included first. this change makes the code slightly more portable by removing a gcc extension (incomplete enum types) which is not part of ISO C. ok schwarze@ --- usr.bin/mandoc/roff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/mandoc/roff.c b/usr.bin/mandoc/roff.c index 776e4c0e081..35f9133ec6d 100644 --- a/usr.bin/mandoc/roff.c +++ b/usr.bin/mandoc/roff.c @@ -1,4 +1,4 @@ -/* $Id: roff.c,v 1.97 2014/08/08 15:54:10 schwarze Exp $ */ +/* $Id: roff.c,v 1.98 2014/08/19 05:18:16 daniel Exp $ */ /* * Copyright (c) 2010, 2011, 2012 Kristaps Dzonsons * Copyright (c) 2010-2014 Ingo Schwarze @@ -23,8 +23,8 @@ #include "mandoc.h" #include "mandoc_aux.h" -#include "libroff.h" #include "libmandoc.h" +#include "libroff.h" /* Maximum number of nested if-else conditionals. */ #define RSTACK_MAX 128 -- 2.20.1