mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +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)
|
set_extra_dirs_lib(WEBSOCKETS websockets)
|
||||||
find_library(WEBSOCKETS_LIBRARY
|
find_library(WEBSOCKETS_LIBRARY
|
||||||
NAMES websockets
|
NAMES websockets websockets.17
|
||||||
HINTS ${HINTS_WEBSOCKETS_LIBDIR} ${PC_WEBSOCKETS_LIBDIR} ${PC_WEBSOCKETS_LIBRARY_DIRS}
|
HINTS ${HINTS_WEBSOCKETS_LIBDIR} ${PC_WEBSOCKETS_LIBDIR} ${PC_WEBSOCKETS_LIBRARY_DIRS}
|
||||||
PATHS ${PATHS_WEBSOCKETS_LIBDIR}
|
PATHS ${PATHS_WEBSOCKETS_LIBDIR}
|
||||||
${CROSSCOMPILING_NO_CMAKE_SYSTEM_PATH}
|
${CROSSCOMPILING_NO_CMAKE_SYSTEM_PATH}
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#if defined(CONF_FAMILY_UNIX)
|
#if defined(CONF_FAMILY_UNIX)
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#elif defined(CONF_FAMILY_WINDOWS)
|
#elif defined(CONF_FAMILY_WINDOWS)
|
||||||
#include <Ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
#endif
|
#endif
|
||||||
#include <libwebsockets.h>
|
#include <libwebsockets.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue