diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2020-06-15 19:54:21 +0530 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@ocrete.ca> | 2020-06-25 17:50:41 +0000 |
commit | aa055b36e57f26d417cc4389c06e7918bef718f7 (patch) | |
tree | 8b9a7336bcc96085e7b5445ccf131b96a3b14461 /stun | |
parent | 9637c1fd842dae1141b2ff9a989fedcf456d16f3 (diff) | |
download | libnice-aa055b36e57f26d417cc4389c06e7918bef718f7.tar.gz |
stund: Use lowercase winsock2.h
Windows ships with `WinSock2.h` but mingw ships with `winsock2.h`.
This is fine on Windows because files are case-insensitive, but on
Linux it causes the compiler to not find the header.
All other #includes are lowercase, so just use that.
Diffstat (limited to 'stun')
-rw-r--r-- | stun/tools/stund.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stun/tools/stund.c b/stun/tools/stund.c index ed74c87..5d0987a 100644 --- a/stun/tools/stund.c +++ b/stun/tools/stund.c @@ -54,7 +54,7 @@ #include <sys/types.h> #ifdef _WIN32 -#include <WinSock2.h> +#include <winsock2.h> #else #include <sys/socket.h> #include <netdb.h> |