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

Missing <cstddef> #76

Open
wernight opened this issue May 26, 2023 · 0 comments
Open

Missing <cstddef> #76

wernight opened this issue May 26, 2023 · 0 comments

Comments

@wernight
Copy link

On Linux with recent G++ for v0.1.3 I get errors:

Source/include/slikenet/HTTPConnection2.h:76:143: error: 'ptrdiff_t' has not been declared
Source/include/slikenet/HTTPConnection2.h:94:17: error: 'ptrdiff_t' does not name a type
...

Probably not the best place, but a fix is to add:

  #include <cstddef>

on top of Source/include/slikenet/HTTPConnection2.h

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