[llvm] r355813 - Attempt to fix build errors caused by r355812
Pavel Labath via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 11 02:23:31 PDT 2019
Author: labath
Date: Mon Mar 11 02:23:30 2019
New Revision: 355813
URL: http://llvm.org/viewvc/llvm-project?rev=355813&view=rev
Log:
Attempt to fix build errors caused by r355812
Modified:
llvm/trunk/include/llvm/Support/SwapByteOrder.h
Modified: llvm/trunk/include/llvm/Support/SwapByteOrder.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/SwapByteOrder.h?rev=355813&r1=355812&r2=355813&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/SwapByteOrder.h (original)
+++ llvm/trunk/include/llvm/Support/SwapByteOrder.h Mon Mar 11 02:23:30 2019
@@ -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
More information about the llvm-commits
mailing list