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 | 3b8d4a9212c335211001e96a0b0fbcb8049d0557 (diff) | |
download | sway-2afd930914c9d31ed1da5ffd80b18f029e84f8c5.tar.xz |
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 @@ #ifndef _SWAY_STRINGOP_H #define _SWAY_STRINGOP_H -#include <stdlib.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 +#include "list.h" // array of whitespace characters to use for delims extern const char whitespace[]; |