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

Doesn't compile on mac #9

Open
henry-eigen opened this issue Feb 12, 2019 · 3 comments
Open

Doesn't compile on mac #9

henry-eigen opened this issue Feb 12, 2019 · 3 comments

Comments

@henry-eigen
Copy link

../include/libpixyusb2.h:25:10: fatal error: 'malloc.h' file not found
#include <malloc.h>

@robobenklein
Copy link
Contributor

../include/libpixyusb2.h:25:10: fatal error: 'malloc.h' file not found
#include <malloc.h>

Seems to be this Linux/Windows-only include.

@robobenklein
Copy link
Contributor

I could change malloc.h to stdlib.h and it works on Linux, fixes the include on macOS, not sure about Windows.

@robobenklein
Copy link
Contributor

PR #11

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

2 participants