forked from OSchip/llvm-project
Make size_t known before including cxxabi.h (FreeBSD fix)
llvm-svn: 163640
This commit is contained in:
parent
ae78ce43c9
commit
dd39395f83
|
@ -10,6 +10,8 @@
|
|||
#ifndef _CXA_DEMANGLE_H
|
||||
#define _CXA_DEMANGLE_H
|
||||
|
||||
// FreeBSD9-STABLE fix (define size_t before including cxxabi.h)
|
||||
#include <cstdlib>
|
||||
#include <cxxabi.h>
|
||||
|
||||
#pragma GCC visibility push(hidden)
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
#if defined(USE_BUILTIN_LIBCXXABI_DEMANGLER)
|
||||
#include "lldb/Core/cxa_demangle.h"
|
||||
#else
|
||||
// FreeBSD9-STABLE requires this to know about size_t in cxxabi.h
|
||||
#include <cstddef>
|
||||
#include <cxxabi.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue