You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-uclibc...

28 lines
708 B

--- audio-entropyd-1.0.1.orig/error.c 2008-01-22 09:50:28 +0000
+++ audio-entropyd-1.0.1/error.c 2008-01-22 09:53:51 +0000
@@ -9,13 +9,13 @@
#include <signal.h>
#include <syslog.h>
#include <regex.h>
-#if defined(__GLIBC__)
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
#include <execinfo.h>
#endif
void print_trace(void)
{
-#if defined(__GLIBC__)
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
void *array[MAX_BACKTRACE_LENGTH];
size_t size;
@@ -39,7 +39,7 @@
printf("\n\n\nDebug information:\n");
if (errno) fprintf(stderr, "errno: %d=%s (if applicable)\n", errno, strerror(errno));
-#if defined(__GLIBC__)
+#if defined(__GLIBC__) && !defined(__UCLIBC__)
print_trace();
#endif