Skip to content

Commit

Permalink
Explicitly include pthread.h where necessary on OpenBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
yellowman committed May 28, 2021
1 parent e8969dc commit f8c7bda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/plugins/output/json-kafka/src/Kafka.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include <ctime>
#include <memory>
#include <librdkafka/rdkafka.h>
#include <pthread.h>

/** JSON kafka connector */
class Kafka : public Output {
Expand Down
1 change: 1 addition & 0 deletions src/plugins/output/json/src/Kafka.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
#include <ctime>
#include <memory>
#include <librdkafka/rdkafka.h>
#include <pthread.h>

/** JSON kafka connector */
class Kafka : public Output {
Expand Down

0 comments on commit f8c7bda

Please sign in to comment.