Skip to content

Commit 75191a4

Browse files
author
Simon Pickartz
authored
Merge pull request #59 from spickartz/sp/fix-gcc-7.1
add missing includes
2 parents becb967 + c37a125 commit 75191a4

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ matrix:
3434
env:
3535
- COMPILERCXX=g++-6
3636
- COMPILERC=gcc-6
37+
- compiler: gcc
38+
addons:
39+
apt:
40+
sources:
41+
- ubuntu-toolchain-r-test
42+
packages:
43+
- g++-7
44+
env:
45+
- COMPILERCXX=g++-7
46+
- COMPILERC=gcc-7
3747
- compiler: clang
3848
env:
3949
- COMPILERC=clang

include/fast-lib/mqtt_communicator.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
#include <chrono>
1717
#include <condition_variable>
18+
#include <functional>
1819
#include <memory>
1920
#include <mutex>
2021
#include <string>

vendor/spdlog/include/spdlog/spdlog.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
#pragma once
1010

11+
#include <functional>
12+
1113
#include "tweakme.h"
1214
#include "common.h"
1315
#include "logger.h"

0 commit comments

Comments
 (0)