=================================================================== RCS file: /cvs/mandoc/compat_stringlist.c,v retrieving revision 1.4 retrieving revision 1.6 diff -u -p -r1.4 -r1.6 --- mandoc/compat_stringlist.c 2015/05/20 23:43:03 1.4 +++ mandoc/compat_stringlist.c 2015/11/07 14:22:29 1.6 @@ -1,4 +1,12 @@ -/* $Id: compat_stringlist.c,v 1.4 2015/05/20 23:43:03 schwarze Exp $ */ +#include "config.h" + +#if HAVE_STRINGLIST + +int dummy; + +#else + +/* $Id: compat_stringlist.c,v 1.6 2015/11/07 14:22:29 schwarze Exp $ */ /* * Copyright (c) 1994 Christos Zoulas * All rights reserved. @@ -25,7 +33,9 @@ * SUCH DAMAGE. */ +#if HAVE_ERR #include +#endif #include #include #include "compat_stringlist.h" @@ -105,3 +115,5 @@ sl_find(StringList *sl, const char *name) return NULL; } + +#endif