We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when compiling the newest libmodbus master branch with the newest MinGW (GCC 4.8.1) on Win7 via the steps:
autogen.sh ./configure make
make breaks with:
unit-test-server.c:24:24: fatal error: sys/socket.h: No such file or directory
it can be resolved by replacing in tests/unit-test-server.c line 24
#include <sys/socket.h>
with
#ifdef _WIN32 # include <winsock2.h> #else # include <sys/socket.h> #endif
The text was updated successfully, but these errors were encountered:
946fb25
Thank you, I'll try to review your others PR ASAP!
Sorry, something went wrong.
Conditional include of socket.h or winsock2 in tests (closes stephane…
05b6357
…#169) Thanks to MarjanTomas.
No branches or pull requests
when compiling the newest libmodbus master branch
with the newest MinGW (GCC 4.8.1) on Win7 via the steps:
make breaks with:
it can be resolved by replacing in tests/unit-test-server.c line 24
with
The text was updated successfully, but these errors were encountered: