blob: d6f420b3e73f11d66ae64f8f1e3ad86d1801fdab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-ae,v 1.3 2006/04/09 07:26:52 xtraeme Exp $
--- src/xitk/event.c.orig 2006-04-08 21:32:08.000000000 +0200
+++ src/xitk/event.c 2006-04-08 21:32:59.000000000 +0200
@@ -1301,7 +1301,9 @@
if(!XInitThreads()) {
printf (_("\nXInitThreads failed - looks like you don't have a "
"thread-safe xlib.\n"));
+ #ifndef _PTH_PTHREAD_H_
exit(1);
+ #endif
}
if((gGui->display = XOpenDisplay((getenv("DISPLAY")))) == NULL) {
|