Skip to content

Commit 321cfdd

Browse files
cblichmanncopybara-github
authored andcommitted
IDA Pro plugin: Add missing include type_traits
The IDA SDK assumes that `type_traits` is transitively included by other standard headers. This is not necessarily the case, especially with newer toolchains. PiperOrigin-RevId: 516497807 Change-Id: I1e10fa43e078c640274abfd2c6f6f063333d3233
1 parent 7f0d92d commit 321cfdd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

ida/begin_idasdk.inc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,9 @@
5656
#pragma warning(disable : 4267)
5757
#endif
5858

59+
// Include standard header that is implicitly assumed to be includeds
60+
// transitively by pro.h.
61+
#include <type_traits>
62+
5963
// Now include the problematic header, end_idasdk.inc will clean up again.
6064
#include <pro.h>

0 commit comments

Comments
 (0)