aboutsummaryrefslogtreecommitdiff
path: root/include/stringop.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2015-09-18 07:23:04 -0700
committerFurkan Sahin <furkan-dev@proton.me>2015-09-18 07:23:04 -0700
commit0215a55d49501ffca114be51544cadbf21482f6c (patch)
tree35529e2a7888e4d3af0997371efd1da5bbf2ad15 /include/stringop.h
parent96fb4d03ba4f6c7099a2dd2406249f924a568a2a (diff)
parentbe01b7f4ccb96ac410e07543da634ef45127f16b (diff)
merge + no c_extensions
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);