]> granicus.if.org Git - llvm/commitdiff
Add an #include for <climits> for CHAR_BIT.
authorZachary Turner <zturner@google.com>
Wed, 19 Apr 2017 15:50:43 +0000 (15:50 +0000)
committerZachary Turner <zturner@google.com>
Wed, 19 Apr 2017 15:50:43 +0000 (15:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300711 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/MathExtras.h

index e389a7e3b95bd2f0c8f9dfe301bfc10dd1620a22..b5b605f18935a2acf5999088464f5c2d7bcd5f0a 100644 (file)
@@ -18,6 +18,7 @@
 #include "llvm/Support/SwapByteOrder.h"
 #include <algorithm>
 #include <cassert>
+#include <climits>
 #include <cstring>
 #include <type_traits>
 #include <limits>