Fix compilation issues on RHEL8 and SLES15.5 related to using std::filesystem (#342)

[ROCm/rocdecode commit: 1943aad663]
Tá an tiomantas seo le fáil i:
Aryan Salmanpour údaraithe agus GitHub tiomanta 2024-05-06 21:12:23 -04:00
1 tuismitheoir 80eaa4963c
tiomantas 6a33a32db7
3 comhad athraithe
+14 -1

Níor tháinig aon chomhaid le do chuardach

@@ -29,7 +29,11 @@ THE SOFTWARE.
#include <fcntl.h>
#include <unistd.h>
#include <cstring>
#include <filesystem>
#if __cplusplus >= 201703L && __has_include(<filesystem>)
#include <filesystem>
#else
#include <experimental/filesystem>
#endif
#include <va/va.h>
#include <va/va_drm.h>
#include <va/va_drmcommon.h>