aboutsummaryrefslogtreecommitdiff
path: root/include/stringop.h
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2015-09-18 07:27:35 -0400
committerFurkan Sahin <furkan-dev@proton.me>2015-09-18 07:27:35 -0400
commitbe01b7f4ccb96ac410e07543da634ef45127f16b (patch)
treeb93c54cba11fd92adb56dce49261d9adb88991fd /include/stringop.h
parentc355d1854e0155ea24be3fcac7103623b99aa9e1 (diff)
Fix warnings introduced by prior commit
Diffstat (limited to 'include/stringop.h')
-rw-r--r--include/stringop.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/stringop.h b/include/stringop.h
index dde50f13..f9f3130c 100644
--- a/include/stringop.h
+++ b/include/stringop.h
@@ -2,6 +2,11 @@
#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;