Skip to content

C-API headers missing standard includes #448

@devunwired

Description

@devunwired

Several of the C-API interfaces in this library declare use of std types (bool, uint, etc.) without including the std headers where they are defined. This leads to order-dependent include requirements within the consuming application if those types are not inherently defined. Examples I've found so far:

  • MicroOcpp_c.h: Declares bool without stdbool.h
  • Configuration_c.h: Declares bool without stdbool.h

I can put up a PR to cover these, but if there's others I've missed feel free to list them out!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions