aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-09-18 07:27:35 -0400
committerDrew DeVault <sir@cmpwn.com>2015-09-18 07:27:35 -0400
commit318e1be240574e316094e5ea73d32e9f9a1f7c04 (patch)
treeb93c54cba11fd92adb56dce49261d9adb88991fd /include
parent8e25ce4e5763c74864587b0a78217eb20c299afe (diff)
downloadsway-318e1be240574e316094e5ea73d32e9f9a1f7c04.tar.xz
Fix warnings introduced by prior commit
Diffstat (limited to 'include')
-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;