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

fix(rust): include stddef.h in ockam_ffi/include/vault.h #1561

Closed
wants to merge 1 commit into from

Conversation

thomcc
Copy link
Contributor

@thomcc thomcc commented Jul 19, 2021

Proposed Changes

Add #include <stddef.h> to ockam_ffi/include/vault.h.

This is a very minor issue I noticed when flipping through files. In order to get size_t, which is used all over the place in that code, you should import stddef.h. On some platforms, stdint.h will itself include stddef.h, which means the include probably works on many targets.

This isn't guaranteed though, and at least on my machine (on macOS), it doesn't appear to be the case.

@jdspdx
Copy link
Contributor

jdspdx commented Jul 20, 2021

Rebased and merged as #1569 Thanks!

@jdspdx jdspdx closed this Jul 20, 2021
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

Successfully merging this pull request may close these issues.

3 participants