Skip to content

Commit 563a730

Browse files
committed
Fixed another regression in IPAddress.h
If the includer tries to inlcude IPAddress.h without first including WString.h the build will fail.
1 parent fc8f84f commit 563a730

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

hardware/arduino/avr/cores/arduino/IPAddress.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
#define IPAddress_h
2222

2323
#include <stdint.h>
24-
#include <Printable.h>
24+
#include "Printable.h"
25+
#include "WString.h"
2526

2627
// A class to make it easier to handle and pass around IP addresses
2728

hardware/arduino/sam/cores/arduino/IPAddress.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
#define IPAddress_h
2222

2323
#include <stdint.h>
24-
#include <Printable.h>
24+
#include "Printable.h"
25+
#include "WString.h"
2526

2627
// A class to make it easier to handle and pass around IP addresses
2728

0 commit comments

Comments
 (0)