]> granicus.if.org Git - llvm/commitdiff
Attempt to fix build errors caused by r355812
authorPavel Labath <pavel@labath.sk>
Mon, 11 Mar 2019 09:23:30 +0000 (09:23 +0000)
committerPavel Labath <pavel@labath.sk>
Mon, 11 Mar 2019 09:23:30 +0000 (09:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355813 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/SwapByteOrder.h

index 380ca0a781f28c4001284248bc0ea752a6e25dfe..06a447a27c2ac2ce66ccbc72dd5482c6c1252362 100644 (file)
@@ -17,6 +17,7 @@
 #include "llvm/Support/Compiler.h"
 #include "llvm/Support/DataTypes.h"
 #include <cstddef>
+#include <type_traits>
 #if defined(_MSC_VER) && !defined(_DEBUG)
 #include <stdlib.h>
 #endif