From 318e1be240574e316094e5ea73d32e9f9a1f7c04 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Fri, 18 Sep 2015 07:27:35 -0400 Subject: Fix warnings introduced by prior commit --- include/stringop.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/stringop.h') diff --git a/include/stringop.h b/include/stringop.h index dde50f13..f9f3130c 100644 --- a/include/stringop.h +++ b/include/stringop.h @@ -2,6 +2,11 @@ #define _SWAY_STRINGOP_H #include "list.h" +#if !HAVE_DECL_SETENV +// Not sure why we need to provide this +extern int setenv(const char *, const char *, int); +#endif + // array of whitespace characters to use for delims extern const char *whitespace; -- cgit v1.2.3-54-g00ecf