summaryrefslogtreecommitdiff
path: root/libgfortran/runtime/backtrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgfortran/runtime/backtrace.c')
-rw-r--r--libgfortran/runtime/backtrace.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libgfortran/runtime/backtrace.c b/libgfortran/runtime/backtrace.c
index e969341212b..9f97fe4dcd6 100644
--- a/libgfortran/runtime/backtrace.c
+++ b/libgfortran/runtime/backtrace.c
@@ -27,9 +27,8 @@ along with libgfortran; see the file COPYING. If not, write to
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
+#include "libgfortran.h"
-#include "config.h"
-#include <stdio.h>
#include <string.h>
#ifdef HAVE_STDLIB_H
@@ -58,14 +57,8 @@ Boston, MA 02110-1301, USA. */
#include <sys/wait.h>
#endif
-#ifdef HAVE_STRING_H
-#include <string.h>
-#endif
-
#include <ctype.h>
-#include "libgfortran.h"
-
static char *