Add missing headers for clang with libc++ builds (#5285)

Add these headers to successfully build DXC with clang and libc++.
This commit is contained in:
Antonio Maiorano 2023-06-14 21:39:55 -04:00 коммит произвёл GitHub
Родитель e41afcef07
Коммит 66f8c6d1e6
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -1,6 +1,7 @@
#pragma once
#include "dxc/Support/WinIncludes.h"
#include <stdexcept>
namespace dxil_debug_info
{

Просмотреть файл

@ -28,6 +28,7 @@
#include <ios>
#include <sys/stat.h>
#include <system_error>
#include <float.h> // HLSL Change: add for '_fpclass'
// <fcntl.h> may provide O_BINARY.
#if defined(HAVE_FCNTL_H)