Skip to content

Commit e9eb3ec

Browse files
committed
C++-ize includes and make them unconditional (needed for printf)
1 parent dfd67d4 commit e9eb3ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/Debug_DumpCallstack.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
#include "util/macros.h"
1212
#include <vector>
1313
#include <string>
14+
#include <cstdio>
15+
#include <cstdlib>
1416

1517
#ifndef HAVE_EXECINFO
1618
# if defined(__linux__)
@@ -25,8 +27,6 @@
2527
#if HAVE_EXECINFO
2628

2729
#include <execinfo.h>
28-
#include <stdio.h>
29-
#include <stdlib.h>
3030

3131
#if HASBFD
3232

0 commit comments

Comments
 (0)