14 lines
446 B
Text
14 lines
446 B
Text
$NetBSD: patch-ae,v 1.1.1.1 2003/04/11 11:59:56 rh 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) {
|