Skip to content

Commit 66f8c6d

Browse files
authored
Add missing headers for clang with libc++ builds (#5285)
Add these headers to successfully build DXC with clang and libc++.
1 parent e41afce commit 66f8c6d

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

lib/DxilDia/DxcPixBase.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#pragma once
22

33
#include "dxc/Support/WinIncludes.h"
4+
#include <stdexcept>
45

56
namespace dxil_debug_info
67
{

lib/Support/raw_ostream.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
#include <ios>
2929
#include <sys/stat.h>
3030
#include <system_error>
31+
#include <float.h> // HLSL Change: add for '_fpclass'
3132

3233
// <fcntl.h> may provide O_BINARY.
3334
#if defined(HAVE_FCNTL_H)

0 commit comments

Comments
 (0)