diff options
author | 2018-11-12 20:35:27 -0500 | |
---|---|---|
committer | 2018-11-12 20:35:27 -0500 | |
commit | 27b930df24b59fdbc8996f86e702849e8a3678b1 (patch) | |
tree | 52157267467d84cd9ce83265ca4b600b1b802af1 /include | |
parent | Merge pull request #3116 from harishkrupo/master (diff) | |
parent | Use #if instead of #ifdef for WLR_HAS_* (diff) | |
download | sway-27b930df24b59fdbc8996f86e702849e8a3678b1.tar.gz sway-27b930df24b59fdbc8996f86e702849e8a3678b1.tar.zst sway-27b930df24b59fdbc8996f86e702849e8a3678b1.zip |
Merge pull request #3117 from emersion/wlroots-config10
Use #if instead of #ifdef for WLR_HAS_*
Diffstat (limited to 'include')
-rw-r--r-- | include/stringop.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/stringop.h b/include/stringop.h index 01bbdaa9..919e605c 100644 --- a/include/stringop.h +++ b/include/stringop.h | |||
@@ -1,12 +1,7 @@ | |||
1 | #ifndef _SWAY_STRINGOP_H | 1 | #ifndef _SWAY_STRINGOP_H |
2 | #define _SWAY_STRINGOP_H | 2 | #define _SWAY_STRINGOP_H |
3 | #include <stdlib.h> | ||
4 | #include "list.h" | ||
5 | 3 | ||
6 | #if !HAVE_DECL_SETENV | 4 | #include "list.h" |
7 | // Not sure why we need to provide this | ||
8 | extern int setenv(const char *, const char *, int); | ||
9 | #endif | ||
10 | 5 | ||
11 | // array of whitespace characters to use for delims | 6 | // array of whitespace characters to use for delims |
12 | extern const char whitespace[]; | 7 | extern const char whitespace[]; |