Skip to content

Commit

Permalink
Fix mosquitto_plugin.h not including mosquitto_broker.h.
Browse files Browse the repository at this point in the history
Closes #2350. Thanks to Wolfgang Petroschka.
  • Loading branch information
ralight committed Oct 27, 2021
1 parent 20d2935 commit 46a6c5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog.txt
Expand Up @@ -12,6 +12,7 @@ Broker:
- Fix client id not showing in log on failed connections, where possible.
- Fix broker sending duplicate CONNACK on failed MQTT v5 reauthentication.
Closes #2339.
- Fix mosquitto_plugin.h not including mosquitto_broker.h. Closes #2350.

Client library:
- Initialise sockpairR/W to invalid in `mosquitto_reinitialise()` to avoid
Expand Down
2 changes: 2 additions & 0 deletions include/mosquitto_plugin.h
Expand Up @@ -44,6 +44,8 @@ extern "C" {
#include <stdbool.h>
#include <stdint.h>

#include <mosquitto_broker.h>

struct mosquitto;

struct mosquitto_opt {
Expand Down

0 comments on commit 46a6c5d

Please sign in to comment.