Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mosquitto_plugin.h cannot be included by itself #2350

Closed
D-r-P-3-p-p-3-r opened this issue Oct 22, 2021 · 1 comment
Closed

mosquitto_plugin.h cannot be included by itself #2350

D-r-P-3-p-p-3-r opened this issue Oct 22, 2021 · 1 comment
Labels
Component: mosquitto-broker Status: Completed Nothing further to be done with this issue, it can be closed by the requestor or committer. Type: Bug
Milestone

Comments

@D-r-P-3-p-p-3-r
Copy link

It's not possible to just include mosquitto_plugin.h by itself. You have to include mosquitto_broker.h before it.
Else errors like this one occur:
error: 'mosquitto_plugin_id_t' was not declared in this scope

Probably mosquitto_broker.h should be included in mosquitto_plugin.h.

ralight added a commit that referenced this issue Oct 27, 2021
Closes #2350. Thanks to Wolfgang Petroschka.
@ralight
Copy link
Contributor

ralight commented Oct 27, 2021

Thanks, I've fixed that now.

@ralight ralight closed this as completed Oct 27, 2021
@ralight ralight added this to the 2.0.13 milestone Oct 27, 2021
@ralight ralight added Component: mosquitto-broker Status: Completed Nothing further to be done with this issue, it can be closed by the requestor or committer. Type: Bug labels Oct 27, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Component: mosquitto-broker Status: Completed Nothing further to be done with this issue, it can be closed by the requestor or committer. Type: Bug
Projects
None yet
Development

No branches or pull requests

2 participants