14 lines
456 B
Text
14 lines
456 B
Text
$NetBSD: patch-ae,v 1.2 2005/02/22 00:44:20 wiz Exp $
|
|
|
|
--- src/xitk/event.c.orig 2004-07-02 23:41:02.000000000 +0200
|
|
+++ src/xitk/event.c
|
|
@@ -1230,7 +1230,9 @@ void gui_init (int nfiles, char *filenam
|
|
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) {
|