aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-11-12 22:23:06 +0100
committeremersion <contact@emersion.fr>2018-11-12 22:23:06 +0100
commit2afd930914c9d31ed1da5ffd80b18f029e84f8c5 (patch)
tree52157267467d84cd9ce83265ca4b600b1b802af1 /include
parent3b8d4a9212c335211001e96a0b0fbcb8049d0557 (diff)
downloadsway-2afd930914c9d31ed1da5ffd80b18f029e84f8c5.tar.xz
Use #if instead of #ifdef for WLR_HAS_*
Diffstat (limited to 'include')
-rw-r--r--include/stringop.h7
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[];