aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortaiyu <taiyu.len@gmail.com>2015-09-18 07:23:04 -0700
committertaiyu <taiyu.len@gmail.com>2015-09-18 07:23:04 -0700
commit0d51f62224a3c2e65894f1725076a588b172447c (patch)
tree35529e2a7888e4d3af0997371efd1da5bbf2ad15 /include
parentd2e2b04bfd505561981c9137bfc493bb8effe63e (diff)
parent318e1be240574e316094e5ea73d32e9f9a1f7c04 (diff)
downloadsway-0d51f62224a3c2e65894f1725076a588b172447c.tar.xz
merge + no c_extensions
Diffstat (limited to 'include')
-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);