=================================================================== RCS file: /cvs/mandoc/preconv.c,v retrieving revision 1.6 retrieving revision 1.8 diff -u -p -r1.6 -r1.8 --- mandoc/preconv.c 2013/06/02 03:52:21 1.6 +++ mandoc/preconv.c 2014/08/16 19:00:01 1.8 @@ -1,4 +1,4 @@ -/* $Id: preconv.c,v 1.6 2013/06/02 03:52:21 schwarze Exp $ */ +/* $Id: preconv.c,v 1.8 2014/08/16 19:00:01 schwarze Exp $ */ /* * Copyright (c) 2011 Kristaps Dzonsons * @@ -14,11 +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 -#ifdef HAVE_MMAP +#include +#if HAVE_MMAP #include #include #endif @@ -245,7 +244,7 @@ read_whole_file(const char *f, int fd, size_t off; ssize_t ssz; -#ifdef HAVE_MMAP +#if HAVE_MMAP struct stat st; if (-1 == fstat(fd, &st)) { perror(f); @@ -509,7 +508,7 @@ main(int argc, char *argv[]) rc = EXIT_SUCCESS; out: -#ifdef HAVE_MMAP +#if HAVE_MMAP if (map) munmap(b.buf, b.sz); else