From 2afd930914c9d31ed1da5ffd80b18f029e84f8c5 Mon Sep 17 00:00:00 2001 From: emersion Date: Mon, 12 Nov 2018 22:23:06 +0100 Subject: Use #if instead of #ifdef for WLR_HAS_* --- include/stringop.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'include') 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 -#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[]; -- cgit v1.2.3