summaryrefslogtreecommitdiff
path: root/sys-apps/audio-entropyd/files/audio-entropyd-2.0.1-uclibc.patch
blob: bdf5adeff825cc77183ae2b4bafe7ce8e4d57cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- 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