aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-11-12 22:23:06 +0100
committerFurkan Sahin <furkan-dev@proton.me>2018-11-12 22:23:06 +0100
commitc9bbfc1cf32969c18f73543dc9d4fbda2b1f41a1 (patch)
tree52157267467d84cd9ce83265ca4b600b1b802af1 /include
parent6b5c7666f580a6ecf29bb116a1bc58867dd9a31f (diff)
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[];