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

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

Open
paddybyers opened this issue Oct 19, 2011 · 1 comment
Open

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

paddybyers opened this issue Oct 19, 2011 · 1 comment

Comments

@paddybyers
Copy link
Owner

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

@paddybyers
Copy link
Owner Author

This is also an issue for master.

Suggested fix is here:

f3bd630

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant