From: daniel Date: Tue, 19 Aug 2014 05:18:16 +0000 (+0000) Subject: libroff depends on libmandoc and so libmandoc should be included first. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f497e9dcfa8e2034461f65026fac8ee594fc8fd8;p=openbsd 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@ --- 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