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/stringop.h | |
parent | Fix build for debian stretch (diff) | |
download | sway-318e1be240574e316094e5ea73d32e9f9a1f7c04.tar.gz sway-318e1be240574e316094e5ea73d32e9f9a1f7c04.tar.zst sway-318e1be240574e316094e5ea73d32e9f9a1f7c04.zip |
Fix warnings introduced by prior commit
Diffstat (limited to 'include/stringop.h')
-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 @@ | |||
2 | #define _SWAY_STRINGOP_H | 2 | #define _SWAY_STRINGOP_H |
3 | #include "list.h" | 3 | #include "list.h" |
4 | 4 | ||
5 | #if !HAVE_DECL_SETENV | ||
6 | // Not sure why we need to provide this | ||
7 | extern int setenv(const char *, const char *, int); | ||
8 | #endif | ||
9 | |||
5 | // array of whitespace characters to use for delims | 10 | // array of whitespace characters to use for delims |
6 | extern const char *whitespace; | 11 | extern const char *whitespace; |
7 | 12 | ||