X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/8745f4e33d4450fb9bd6fe1f48e7ac4b045785a5..f5330ed0a9932ca87b5c5c013a54a98d784a8df2:/compat_stringlist.c diff --git a/compat_stringlist.c b/compat_stringlist.c index 570fcdd1..17eba772 100644 --- a/compat_stringlist.c +++ b/compat_stringlist.c @@ -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