diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-09-18 07:27:35 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-09-18 07:27:35 -0400 |
commit | 318e1be240574e316094e5ea73d32e9f9a1f7c04 (patch) | |
tree | b93c54cba11fd92adb56dce49261d9adb88991fd /include | |
parent | 8e25ce4e5763c74864587b0a78217eb20c299afe (diff) | |
download | sway-318e1be240574e316094e5ea73d32e9f9a1f7c04.tar.xz |
Fix warnings introduced by prior commit
Diffstat (limited to 'include')
-rw-r--r-- | include/stringop.h | 5 |
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; |