aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--compat_stringlist.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/compat_stringlist.c b/compat_stringlist.c
index 570fcdd1..b3397168 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.5 2015/05/21 00:13:43 schwarze Exp $ */
/*
* Copyright (c) 1994 Christos Zoulas <christos@netbsd.org>
* All rights reserved.
@@ -105,3 +113,5 @@ sl_find(StringList *sl, const char *name)
return NULL;
}
+
+#endif