From 9b35bc171b2e503fb42ce564ea663f805af08923 Mon Sep 17 00:00:00 2001
From: negativekelvin <negativekelvin@users.noreply.github.com>
Date: Sun, 30 Sep 2018 12:01:56 -0700
Subject: [PATCH] esp32: blows if allowed lejp

---
 lib/roles/http/server/lejp-conf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/roles/http/server/lejp-conf.c b/lib/roles/http/server/lejp-conf.c
index 58bb507a..0dfa76b9 100644
--- a/lib/roles/http/server/lejp-conf.c
+++ b/lib/roles/http/server/lejp-conf.c
@@ -873,7 +873,7 @@ static int
 lwsws_get_config_d(void *user, const char *d, const char * const *paths,
 		   int count_paths, lejp_callback cb)
 {
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(LWS_WITH_ESP32)
 	struct dirent **namelist;
 	char path[256];
 	int n, i, ret = 0;
-- 
GitLab