summaryrefslogtreecommitdiff
path: root/lang/gcc7/patches/patch-libstdc++-v3_libsupc++_unwind-cxx.h
blob: 904d730b557c542e8c62dc0d742462e805670bcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-libstdc++-v3_libsupc++_unwind-cxx.h,v 1.1 2017/05/03 00:21:03 maya 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.  */