aboutsummaryrefslogtreecommitdiff
path: root/include/stringop.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stringop.h')
-rw-r--r--include/stringop.h7
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);