diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/stringop.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/stringop.h b/include/stringop.h index dc81cdae..49bfa771 100644 --- a/include/stringop.h +++ b/include/stringop.h @@ -2,8 +2,13 @@ #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; +extern const char whitespace[]; char *strip_whitespace(char *str); char *strip_comments(char *str); |