summaryrefslogtreecommitdiffstats
path: root/compat_stringlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat_stringlist.c')
-rw-r--r--compat_stringlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compat_stringlist.c b/compat_stringlist.c
index f283a640..d61a87a7 100644
--- a/compat_stringlist.c
+++ b/compat_stringlist.c
@@ -33,7 +33,9 @@ int dummy;
* SUCH DAMAGE.
*/
+#if HAVE_ERR
#include <err.h>
+#endif
#include <stdlib.h>
#include <string.h>
#include "compat_stringlist.h"