add missed includes

This commit is contained in:
DH 2025-10-04 22:56:43 +03:00
parent 2965aaf3e3
commit 30469f7fb9
5 changed files with 7 additions and 5 deletions

View file

@ -1336,7 +1336,7 @@ error_code sys_net_bnet_poll(ppu_thread &ppu, vm::ptr<sys_net_pollfd> fds,
sock->set_connecting(connecting[i]);
#endif
rx::EnumBitSet<lv2_socket::poll_t> selected = +lv2_socket::poll_t::error;
rx::EnumBitSet<lv2_socket::poll_t> selected = lv2_socket::poll_t::error;
if (fds_buf[i].events & SYS_NET_POLLIN)
selected += lv2_socket::poll_t::read;

View file

@ -129,9 +129,9 @@ s32 lv2_socket_raw::poll([[maybe_unused]] sys_net_pollfd &sn_pfd,
return {};
}
std::tuple<bool, bool, bool>
lv2_socket_raw::select([[maybe_unused]] rx::EnumBitSet<lv2_socket::poll_t> selected,
[[maybe_unused]] pollfd &native_pfd) {
std::tuple<bool, bool, bool> lv2_socket_raw::select(
[[maybe_unused]] rx::EnumBitSet<lv2_socket::poll_t> selected,
[[maybe_unused]] pollfd &native_pfd) {
LOG_ONCE(raw_select, "lv2_socket_raw::select");
return {};
}

View file

@ -1,6 +1,7 @@
#pragma once
#include "Loader/PSF.h"
#include "util/StrFmt.h"
#include "util/endian.hpp"
#include "util/types.hpp"
#include "util/File.h"

View file

@ -131,7 +131,7 @@ struct ppu_module : public Type
std::string name{}; // Filename
std::string path{}; // Filepath
s64 offset = 0; // Offset of file
mutable rx::EnumBitSet<ppu_attr> attr{}; // Shared module attributes
mutable rx::EnumBitSet<ppu_attr> attr{}; // Shared module attributes
std::string cache{}; // Cache file path
std::vector<ppu_reloc> relocs{}; // Relocations
std::vector<ppu_segment> segs{}; // Segments

View file

@ -1,6 +1,7 @@
#pragma once
#include "util/types.hpp"
#include <functional>
#include <map>
#include <string>
#include <string_view>