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

Automatically #include stdbool.h and stdlib.h. #132

Closed
jasone opened this issue Sep 29, 2014 · 0 comments
Closed

Automatically #include stdbool.h and stdlib.h. #132

jasone opened this issue Sep 29, 2014 · 0 comments
Milestone

Comments

@jasone
Copy link
Member

jasone commented Sep 29, 2014

jemalloc.h uses definitions that come from stdbool.h and stdlib.h, but requires the application to #include those headers before #including jemalloc.h. Change jemalloc.h to directly include the necessary headers (while we're at it, include stdint.h for mallctl()'s sake), and modify the manual accordingly.

@jasone jasone added this to the 4.0.0 milestone Sep 29, 2014
@jasone jasone closed this as completed in e9a3fa2 Oct 5, 2014
bertmaher pushed a commit to bertmaher/jemalloc that referenced this issue Dec 10, 2014
Add stdlib.h, stdbool.h, and stdint.h to jemalloc/jemalloc.h so that
applications only have to #include <jemalloc/jemalloc.h>.

This resolves jemalloc#132.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant