Skip to content

Inclusion order for <limits.h> and <sys/mman.h> #11

@paddybyers

Description

@paddybyers

deps/libeio/eio.c contains a conditional inclusion of <sys/mman.h>. The logic for this breaks on Android, because the relevant variable (_POSIX_MAPPED_FILES) is in <limits.h> which is currently included after the variable is tested.

Suggest fix is here:

1b6bd89
55b94d2

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