diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2015-09-18 07:23:04 -0700 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2015-09-18 07:23:04 -0700 |
| commit | 0215a55d49501ffca114be51544cadbf21482f6c (patch) | |
| tree | 35529e2a7888e4d3af0997371efd1da5bbf2ad15 /include | |
| parent | 96fb4d03ba4f6c7099a2dd2406249f924a568a2a (diff) | |
| parent | be01b7f4ccb96ac410e07543da634ef45127f16b (diff) | |
merge + no c_extensions
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); |
