diff options
author | emersion <contact@emersion.fr> | 2018-11-12 22:23:06 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-11-12 22:23:06 +0100 |
commit | 2afd930914c9d31ed1da5ffd80b18f029e84f8c5 (patch) | |
tree | 52157267467d84cd9ce83265ca4b600b1b802af1 /include | |
parent | Merge pull request #3116 from harishkrupo/master (diff) | |
download | sway-2afd930914c9d31ed1da5ffd80b18f029e84f8c5.tar.gz sway-2afd930914c9d31ed1da5ffd80b18f029e84f8c5.tar.zst sway-2afd930914c9d31ed1da5ffd80b18f029e84f8c5.zip |
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[]; |