Further websockets build fixes

This commit is contained in:
def 2020-09-17 13:44:47 +02:00
parent 2c66f7388a
commit 24526d0fc8
2 changed files with 3 additions and 3 deletions

View file

@ -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}

View file

@ -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