Skip to content

Commit bf214a0

Browse files
committed
Explicity include string.h from pgmspace.h
1 parent b9e59df commit bf214a0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1818
### Fixed
1919
- Replaced pipes with `Open3.capture3` to avoid deadlocks when commands have too much output
2020
- `ci_config.rb` now returns empty arrays (instead of nil) for undefined config keys
21+
- `pgmspace.h` explictly includes `<string.h>`
2122

2223
### Security
2324

cpp/arduino/avr/pgmspace.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ out.each { |l| puts d(l) }
1616
*/
1717

1818
#include <avr/io.h>
19+
#include <string>
1920

2021
#define PROGMEM
2122

0 commit comments

Comments
 (0)