forked from andrius/gentoo-bootstrap
22 lines
733 B
Diff
22 lines
733 B
Diff
diff -Naur openjdk-8.265_p01/jdk/src/solaris/native/sun/xawt/XToolkit.c openjdk-8.265_p01-copy/jdk/src/solaris/native/sun/xawt/XToolkit.c
|
|
--- openjdk-8.265_p01/jdk/src/solaris/native/sun/xawt/XToolkit.c 2020-10-11 15:53:09.316010360 -0400
|
|
+++ openjdk-8.265_p01-copy/jdk/src/solaris/native/sun/xawt/XToolkit.c 2020-10-11 21:09:12.892019555 -0400
|
|
@@ -27,7 +27,7 @@
|
|
#include <X11/Xutil.h>
|
|
#include <X11/Xos.h>
|
|
#include <X11/Xatom.h>
|
|
-#ifdef __linux__
|
|
+#if defined(__linux__) && defined(__GLIBC__) && ! defined(__UCLIBC__)
|
|
#include <execinfo.h>
|
|
#endif
|
|
|
|
@@ -803,7 +803,7 @@
|
|
return ret;
|
|
}
|
|
|
|
-#ifdef __linux__
|
|
+#if defined(__linux__) && defined(__GLIBC__) && ! defined(__UCLIBC__)
|
|
void print_stack(void)
|
|
{
|
|
void *array[10];
|