Skip to content

Commit c37d937

Browse files
authored
Fix compilation with GCC 12 (#321)
1 parent 9a24cf7 commit c37d937

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/ProcessMonitor.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "MonLogger.h"
1919
#include <unistd.h>
2020
#include <chrono>
21+
#include <iterator>
2122
#include <sstream>
2223
#include <cmath>
2324
#include <fstream>

src/Transports/KafkaConsumer.cxx

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

1717
#include "KafkaConsumer.h"
18+
#include <memory>
1819
#include <string>
1920
#include "../MonLogger.h"
2021
#include "../Exceptions/MonitoringException.h"

src/Transports/KafkaProducer.cxx

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

1717
#include "KafkaProducer.h"
18+
#include <memory>
1819
#include <string>
1920
#include "../MonLogger.h"
2021

0 commit comments

Comments
 (0)