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

Add the <arpa/inet.h> include to unix.h #96

Merged
merged 2 commits into from Sep 11, 2018

Conversation

Projects
None yet
2 participants
@Subv
Copy link
Contributor

commented Sep 11, 2018

Some files were using ENET_HOST_TO_NET_32 and ENET_NET_TO_HOST_32 without having included the <arpa/inet.h> file beforehand, leading to compiler warnings about implicit declarations of ntohl and htonl.

Subv added some commits Sep 11, 2018

Add the <arpa/inet.h> include to unix.h.
Some files were using ENET_HOST_TO_NET_32 and ENET_NET_TO_HOST_32 without having included the <arpa/inet.h> file beforehand, leading to compiler warnings about implicit declarations of ntohl and htonl.
Remove the now unneeded <arpa/inet.h> include in unix.c
This is already included in unix.h

@lsalzman lsalzman merged commit e2ef839 into lsalzman:master Sep 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.