From 9c40752cb6c2bc91e63cd6d5dae1c9b8da0af39e Mon Sep 17 00:00:00 2001 From: Daniel Dickman Date: Tue, 19 Aug 2014 05:18:17 +0000 Subject: 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(-) (limited to 'usr.bin') 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 -- cgit v1.2.3