diff options
Diffstat (limited to 'lang/gcc5/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h')
-rw-r--r-- | lang/gcc5/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/gcc5/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h b/lang/gcc5/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h new file mode 100644 index 00000000000..1eb5bbc6649 --- /dev/null +++ b/lang/gcc5/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h @@ -0,0 +1,12 @@ +$NetBSD: patch-libstdc++-v3_libsupc++_unwind-cxx.h,v 1.1 2015/07/16 12:03:36 ryoon Exp $ + +--- libstdc++-v3/libsupc++/unwind-cxx.h.orig 2013-03-19 17:04:44.000000000 +0000 ++++ libstdc++-v3/libsupc++/unwind-cxx.h +@@ -38,6 +38,7 @@ + #include <cxxabi.h> + + #ifdef _GLIBCXX_HAVE_SYS_SDT_H ++#include <cstdlib> + #include <sys/sdt.h> + /* We only want to use stap probes starting with v3. Earlier versions + added too much startup cost. */ |