mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-19 17:14:18 +00:00
Further websockets build fixes
This commit is contained in:
parent
2c66f7388a
commit
24526d0fc8
|
@ -5,7 +5,7 @@ endif()
|
|||
|
||||
set_extra_dirs_lib(WEBSOCKETS websockets)
|
||||
find_library(WEBSOCKETS_LIBRARY
|
||||
NAMES websockets
|
||||
NAMES websockets websockets.17
|
||||
HINTS ${HINTS_WEBSOCKETS_LIBDIR} ${PC_WEBSOCKETS_LIBDIR} ${PC_WEBSOCKETS_LIBRARY_DIRS}
|
||||
PATHS ${PATHS_WEBSOCKETS_LIBDIR}
|
||||
${CROSSCOMPILING_NO_CMAKE_SYSTEM_PATH}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#if defined(CONF_FAMILY_UNIX)
|
||||
#include <arpa/inet.h>
|
||||
#elif defined(CONF_FAMILY_WINDOWS)
|
||||
#include <Ws2tcpip.h>
|
||||
#include <ws2tcpip.h>
|
||||
#endif
|
||||
#include <libwebsockets.h>
|
||||
|
||||
|
@ -306,4 +306,4 @@ int websocket_fd_set(int socket, fd_set *set)
|
|||
return max;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue