Skip to content

Commit a521141

Browse files
authored
Merge pull request #225 from jgfoster/IPAddress
Add `IPAddress.h` to `Client.h`
2 parents 09a3eaf + 4e77346 commit a521141

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
3434
- Travis and Appveyor CI
3535

3636
### Fixed
37+
- Missing include of `IPAddress.h` in `Client.h`
3738
- Mismatches between library names in `library.properties` and the directory names, which can cause cryptic failures
3839
- `LibraryProperties` skips over parse errors instead of crashing: only lines with non-empty keys and non-nil values are recorded
3940

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#include <ArduinoUnitTests.h>
2+
// test for including <Client.h> without <Arduino.h>
3+
#include <Client.h>
4+
5+
unittest(test) { assertTrue(true); }
6+
7+
unittest_main()

cpp/arduino/Client.h

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#pragma once
22

33
#include <Stream.h>
4+
#include <IPAddress.h>
45

56
class Client : public Stream {
67
public:

0 commit comments

Comments
 (0)