Commit 98cef127 authored by Michael Natterer's avatar Michael Natterer 😴

Bug 704980 - uclibc - base-utils.c: execinfo.h: No such file or directory

Forgot to apply the same fix to master.
parent cfa07462
......@@ -38,7 +38,7 @@
#include <process.h>
#endif
#ifdef G_OS_UNIX
#if defined(G_OS_UNIX) && defined(HAVE_EXECINFO_H)
/* For get_backtrace() */
#include <stdlib.h>
#include <string.h>
......@@ -369,7 +369,7 @@ gimp_get_physical_memory_size (void)
gchar *
gimp_get_backtrace (void)
{
#ifdef G_OS_UNIX
#if defined(G_OS_UNIX) && defined(HAVE_EXECINFO_H)
void *functions[MAX_FUNC];
char **function_names;
int n_functions;
......
......@@ -422,7 +422,7 @@ AC_HEADER_STDC
AC_HEADER_SYS_WAIT
AC_HEADER_TIME
AC_CHECK_HEADERS(sys/param.h sys/time.h sys/times.h sys/wait.h unistd.h)
AC_CHECK_HEADERS(execinfo.h sys/param.h sys/time.h sys/times.h sys/wait.h unistd.h)
AC_TYPE_PID_T
AC_FUNC_VPRINTF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment