Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

api_internal includes and FreeBSD 12 #62

@jdeblese

Description

@jdeblese

api_internal fails to compile on FreeBSD 12.2 due to issues with included headers: alloca() is provided by stdlib.h instead of alloca.h (which doesn't exist); and the endian functions are already defined in sys/endian.h (included by stdint.h). A simple fix would be to check for the __FreeBSD__ macro and not include alloca.h or define the endianness functions when set. I can submit a PR, if that's an acceptable solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions