Skip to content

Commit

Permalink
Add missing headers for clang with libc++ builds (#5285)
Browse files Browse the repository at this point in the history
Add these headers to successfully build DXC with clang and libc++.
  • Loading branch information
amaiorano authored Jun 15, 2023
1 parent e41afce commit 66f8c6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/DxilDia/DxcPixBase.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#include "dxc/Support/WinIncludes.h"
#include <stdexcept>

namespace dxil_debug_info
{
Expand Down
1 change: 1 addition & 0 deletions lib/Support/raw_ostream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 66f8c6d

Please sign in to comment.