d876dfb6df
This is version 0.9.22nb1.
14 lines
448 B
Text
14 lines
448 B
Text
$NetBSD: patch-ae,v 1.1.1.1 2004/01/26 13:04:47 jmmv Exp $
|
|
|
|
--- src/xitk/event.c.orig Thu Mar 20 01:36:08 2003
|
|
+++ src/xitk/event.c
|
|
@@ -985,7 +985,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) {
|