Skip to content

Commit 06aa44f

Browse files
Can safely include FS.h now that SD/SPIFFS unified
1 parent a90a145 commit 06aa44f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

libraries/ESP8266WebServer/src/ESP8266WebServer.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#include <functional>
2828
#include <memory>
2929
#include <ESP8266WiFi.h>
30+
#include <FS.h>
3031

3132
enum HTTPMethod { HTTP_ANY, HTTP_GET, HTTP_POST, HTTP_PUT, HTTP_PATCH, HTTP_DELETE, HTTP_OPTIONS };
3233
enum HTTPUploadStatus { UPLOAD_FILE_START, UPLOAD_FILE_WRITE, UPLOAD_FILE_END,
@@ -64,10 +65,6 @@ typedef struct {
6465

6566
#include "detail/RequestHandler.h"
6667

67-
namespace fs {
68-
class FS;
69-
}
70-
7168
template<typename ServerType>
7269
class ESP8266WebServerTemplate
7370
{

0 commit comments

Comments
 (0)