fix(capture/linux): move CUDA includes before declarations

This commit is contained in:
Santiago Forero committed 2026-10-14 05:05:52 -05:00
1 parent d8b3f81fc8
commit 1122f837b4
1 file changed
+10 -8
+10 -8
View File
@@ -7,6 +7,16 @@
// standard includes
#include <cstdint>
#if defined(SUNSHINE_BUILD_CUDA)
#include <memory>
#include <optional>
#include <string>
#include <vector>
// local includes
#include "src/video_colorspace.h"
#endif
namespace cuda::nvfbc {
/**
* @brief Decide whether NvFBC should offer the whole virtual desktop as a display.
@@ -26,14 +36,6 @@ namespace cuda::nvfbc {
} // namespace cuda::nvfbc
#if defined(SUNSHINE_BUILD_CUDA)
#include <memory>
#include <optional>
#include <string>
#include <vector>
// local includes
#include "src/video_colorspace.h"
namespace platf {
struct avcodec_encode_device_t;
struct img_t;