From 661ccb23aed221ff831558356f1a351b5954b4dd Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Wed, 5 Aug 2015 08:48:21 -0400 Subject: [PATCH] Fix compilation error when Esp.h is included first in sketch (#590) --- cores/esp8266/Esp.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cores/esp8266/Esp.h b/cores/esp8266/Esp.h index 17349f688..c7c44aaf0 100644 --- a/cores/esp8266/Esp.h +++ b/cores/esp8266/Esp.h @@ -1,8 +1,8 @@ -/* +/* Esp.h - ESP8266-specific APIs Copyright (c) 2015 Ivan Grokhotkov. All rights reserved. This file is part of the esp8266 core for Arduino environment. - + This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either @@ -20,6 +20,9 @@ #ifndef ESP_H #define ESP_H + +#include + /** * AVR macros for WDT managment */