Merge pull request #9178 from jbeich/freebsd-include

network: unbreak on BSDs due to missing include
This commit is contained in:
Mai 2022-11-04 17:52:01 +00:00 committed by GitHub
commit 862afa8514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,10 @@
#include "core/internal_network/network_interface.h" #include "core/internal_network/network_interface.h"
#include "core/internal_network/socket_proxy.h" #include "core/internal_network/socket_proxy.h"
#if YUZU_UNIX
#include <sys/socket.h>
#endif
namespace Network { namespace Network {
ProxySocket::ProxySocket(RoomNetwork& room_network_) noexcept : room_network{room_network_} {} ProxySocket::ProxySocket(RoomNetwork& room_network_) noexcept : room_network{room_network_} {}