summaryrefslogtreecommitdiff
blob: 1e7239535d4d1892001929862b67f3675bbf40e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- hddtemp-0.3-beta15/configure.in~	2005-10-17 19:14:19 +0000
+++ hddtemp-0.3-beta15/configure.in	2006-12-11 18:23:22 +0000
@@ -18,6 +18,7 @@
 AC_HEADER_STDC
 AC_CHECK_HEADERS(fcntl.h)
 AC_CHECK_HEADERS(netinet/in.h)
+AC_CHECK_HEADERS(execinfo.h)
 AC_CHECK_TYPE(in_addr_t, ,[AC_DEFINE_UNQUOTED([in_addr_t], [uint32_t], [Define to 'uint32_t' if <netinet/in.h> does not define.])], [#include <netinet/in.h>])
 
 # Checks for typedefs, structures, and compiler characteristics.
--- hddtemp-0.3-beta15/src/backtrace.c-orig	2006-12-11 18:20:41 +0000
+++ hddtemp-0.3-beta15/src/backtrace.c	2006-12-11 18:23:28 +0000
@@ -18,7 +18,7 @@
 
 #include <features.h>
 
-#if defined(__i386__) && defined(__GLIBC__)
+#ifdef HAS_EXECINFO_H
 
 #include <execinfo.h>