=================================================================== RCS file: /cvs/mandoc/manpath.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -p -r1.9 -r1.10 --- mandoc/manpath.c 2012/06/08 10:32:40 1.9 +++ mandoc/manpath.c 2013/05/29 22:48:10 1.10 @@ -1,4 +1,4 @@ -/* $Id: manpath.c,v 1.9 2012/06/08 10:32:40 kristaps Exp $ */ +/* $Id: manpath.c,v 1.10 2013/05/29 22:48:10 schwarze Exp $ */ /* * Copyright (c) 2011 Ingo Schwarze * Copyright (c) 2011 Kristaps Dzonsons @@ -19,7 +19,9 @@ #include "config.h" #endif +#ifdef USE_MANPATH #include +#endif #include #include @@ -90,8 +92,8 @@ manpath_parse(struct manpaths *dirs, const char *file, char *insert; /* Always prepend -m. */ - manpath_parseline(dirs, auxp); - + manpath_parseline(dirs, auxp); + /* If -M is given, it overrides everything else. */ if (NULL != defp) { manpath_parseline(dirs, defp);