aboutsummaryrefslogtreecommitdiff
path: root/include/stringop.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-11-12 20:35:27 -0500
committerGitHub <noreply@github.com>2018-11-12 20:35:27 -0500
commit27b930df24b59fdbc8996f86e702849e8a3678b1 (patch)
tree52157267467d84cd9ce83265ca4b600b1b802af1 /include/stringop.h
parent3b8d4a9212c335211001e96a0b0fbcb8049d0557 (diff)
parent2afd930914c9d31ed1da5ffd80b18f029e84f8c5 (diff)
Merge pull request #3117 from emersion/wlroots-config10
Use #if instead of #ifdef for WLR_HAS_*
Diffstat (limited to 'include/stringop.h')
-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[];