Add missing stdlib includes to improve portability (#499)
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <archive.h>
|
#include <archive.h>
|
||||||
#include <archive_entry.h>
|
#include <archive_entry.h>
|
||||||
|
#include <bit>
|
||||||
#include <cairo.h>
|
#include <cairo.h>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <librsvg/rsvg.h>
|
#include <librsvg/rsvg.h>
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <nlohmann/json.hpp>
|
#include <nlohmann/json.hpp>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#if WIVRN_CHECK_CAPSYSNICE
|
#if WIVRN_CHECK_CAPSYSNICE
|
||||||
#include <sys/capability.h>
|
#include <sys/capability.h>
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
#include "xrt/xrt_defines.h"
|
#include "xrt/xrt_defines.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
#include <charconv>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <ranges>
|
#include <ranges>
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
#include "xrt/xrt_device.h"
|
#include "xrt/xrt_device.h"
|
||||||
|
|
||||||
#include "utils/singleton.h"
|
#include "utils/singleton.h"
|
||||||
|
#include <mutex>
|
||||||
#include <vulkan/vulkan_raii.hpp>
|
#include <vulkan/vulkan_raii.hpp>
|
||||||
|
|
||||||
struct render_resources;
|
struct render_resources;
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
#include "video_encoder.h"
|
#include "video_encoder.h"
|
||||||
|
|
||||||
#include "wivrn_packets.h"
|
#include "wivrn_packets.h"
|
||||||
|
#include <charconv>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <magic_enum.hpp>
|
#include <magic_enum.hpp>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|||||||
Reference in New Issue
Block a user