summaryrefslogtreecommitdiff
path: root/tests/Gperf-trace.c
diff options
context:
space:
mode:
authorArun Sharma <asharma@fb.com>2011-08-15 20:19:47 -0700
committerArun Sharma <asharma@fb.com>2011-08-15 20:19:47 -0700
commit4dbc2bcb94960e9aa76696dfca5d662090496d4e (patch)
tree27cb6dd30f7e0416168bb8b82df6cb1ca6a60c93 /tests/Gperf-trace.c
parentd83846f120596ea60f74816947deceb93d0a8944 (diff)
downloadlibunwind-4dbc2bcb94960e9aa76696dfca5d662090496d4e.tar.gz
Fix a compiler warning
backtrace() needs execinfo.h
Diffstat (limited to 'tests/Gperf-trace.c')
-rw-r--r--tests/Gperf-trace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/Gperf-trace.c b/tests/Gperf-trace.c
index 73207027..87dd5b29 100644
--- a/tests/Gperf-trace.c
+++ b/tests/Gperf-trace.c
@@ -21,6 +21,7 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
+#include <execinfo.h>
#include <memory.h>
#include <stdio.h>
#include <stdlib.h>