-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
Description
When I include the library in my code, I'm unable to compile...
In file included from C:\Users\stidsen\Documents\Arduino\libraries\ArduinoHttpServer\src\internals\HttpResource.cpp:10:0: C:\Users\stidsen\Documents\Arduino\libraries\ArduinoHttpServer\src\internals\HttpResource.hpp:23:24: error: 'String' does not name a type HttpResource(const String& resource); ^~~~~~
I worked my way around the problem by:
- Changing the order of
#include "FixString.hpp"and#include "Arduino.h"in HttpField.hpp - Replaced
#include <WString.h>by#include <Arduino.h>in HttpResource.hpp