summaryrefslogtreecommitdiff
path: root/include/llvm/Support/Format.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-11-05 13:30:28 +0000
committerDouglas Gregor <dgregor@apple.com>2009-11-05 13:30:28 +0000
commitfbe67f85b2e14bf0b9a4c2b6306ccbcefdb8956b (patch)
treeb43da1ed2813af735a9e21ded70a2cbcd70d971e /include/llvm/Support/Format.h
parente4bddf1837da3c2096baebcc0f5968c0e213a4d0 (diff)
downloadllvm-fbe67f85b2e14bf0b9a4c2b6306ccbcefdb8956b.tar.gz
llvm-fbe67f85b2e14bf0b9a4c2b6306ccbcefdb8956b.tar.bz2
llvm-fbe67f85b2e14bf0b9a4c2b6306ccbcefdb8956b.tar.xz
Make a few headers standalone. Plus, add a missing "template" keyword
that Clang diagnoses but GCC does not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Format.h')
-rw-r--r--include/llvm/Support/Format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Support/Format.h b/include/llvm/Support/Format.h
index df03f66ddc..340f51735e 100644
--- a/include/llvm/Support/Format.h
+++ b/include/llvm/Support/Format.h
@@ -23,6 +23,7 @@
#ifndef LLVM_SUPPORT_FORMAT_H
#define LLVM_SUPPORT_FORMAT_H
+#include <cassert>
#include <cstdio>
#ifdef WIN32
#define snprintf _snprintf