Skip to content

<stdlib.h> header not included when it's needed #629

@IvyCons

Description

@IvyCons

This error stopped the making process:
/Users/libfreenect/examples/micview.c:189:31: error: implicitly
declaring library function 'malloc' with type 'void (unsigned long)'
[-Werror,-Wimplicit-function-declaration]
state.buffers[0] = (int32_t
)malloc(state.max_samples * sizeof(i...

I added #include <stdlib.h> to the file to resolve it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions